Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16.9.0-beta.1 availability in PHP SDK #1789

Open
stAn47 opened this issue Nov 20, 2024 · 2 comments
Open

16.9.0-beta.1 availability in PHP SDK #1789

stAn47 opened this issue Nov 20, 2024 · 2 comments
Assignees

Comments

@stAn47
Copy link

stAn47 commented Nov 20, 2024

Is your feature request related to a problem? Please describe.

Hello, we are trying to implement "shipping rate requests by server" using this guide
https://docs.stripe.com/payments/checkout/custom-shipping-options

while our backend API is PHP based.

When can we expect these features to be available with PHP SDK ?

We are mainly interested in providing "express" experience at product details with a single button for Apple/Google pay that would auto load the customer's address, address would be sent to the website for registration or order association (via the shipping address changed webhook), shipping rates calculation, possibly taxes and discount calcultions which would provide new order due amount at payment window.

Ideal solution in this matter is that server sends multiple shipping options (such as pick up in store = 0gbp or DPD next day = 10gbp and customer would still be able to pick up his prefered method )

There are thousands of shipping options at the store so we cannot use Stripe's standard shipping rates for the checkout APIs and we would welcome the webhooks for this purpose.

Thank you, best regards, Stan

Describe the solution you'd like

Please prefer most used webserver programming language (PHP) as first and node.js as secondary

Describe alternatives you've considered

Additional context

No response

@jar-stripe
Copy link
Contributor

Hi @stAn47 , thanks for writing in! Let me do a bit of digging here, and I'll get back to you!

@jar-stripe
Copy link
Contributor

jar-stripe commented Nov 20, 2024

@stAn47 : I did a bit of digging and it looks like these properties are available in the latest PHP beta (see e.g. https://github.com/stripe/stripe-php/blob/v16.3.0-beta.3/lib/Checkout/Session.php#L62). We don't have a step-by-step guide for PHP but if you can try and adapt the Node steps for that beta SDK, I think this should work for you. Can you give that a try?

@jar-stripe jar-stripe self-assigned this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants