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

Cashier support for no-cost orders via Checkout #1610

Closed
jakecausier opened this issue Dec 11, 2023 · 5 comments
Closed

Cashier support for no-cost orders via Checkout #1610

jakecausier opened this issue Dec 11, 2023 · 5 comments

Comments

@jakecausier
Copy link

Stripe has launched a new feature through their Checkout which allows for no-cost orders to be placed when the Checkout session is set to payment. However, attempting to create a checkout session with Cashier when the line items total to zero brings up the following error:

The Checkout Session's total amount due cannot be zero in `payment` mode.

Our website depends on Stripe webhooks to confirm a user has completed and paid for an order (even free orders, like subscriptions) so having to work around this would be complicated (and frankly, annoying).

The feature is on Stripe's API version 2023-08-16 which is quite far ahead of the current API version locked for Cashier, is this potentially being looked into being changed soon or would it be worth implementing a workaround myself for this using Stripe's PHP API directly?

@driesvints
Copy link
Member

I'm gonna work on a new Cashier Stripe version very soon to support their latest API updates so I'll also have a look at this one, thanks.

@jakecausier
Copy link
Author

Great to hear, thanks!

@driesvints driesvints changed the title Cashier support for no-cost orders via. Checkout Cashier support for no-cost orders via Checkout Dec 13, 2023
@driesvints
Copy link
Member

I guess this will be supported once Cashier v15 is released with the new version. The release is almost ready.

@cerberusmaster
Copy link

@driesvints this problem solved already?
I am encountering same issue when I use 100% discount coupon, I don't want collect any payment from customers.

@driesvints
Copy link
Member

@cerberusmaster I can't comment on that. We're using the version that has this feature. If things don't work like you expect then you should contact Stripe support.

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

3 participants