#gorenjai-DestinationCharge
1 messages · Page 1 of 1 (latest)
PaymentIntent
Coupon/Discount only works with Checkout or Subscription, I am afraid
Oh! I wasn't aware of that. So does that mean the only option is to bring a webview (browser) into the checkout process in the app ?
Or we'll have to create a custom coupon management backend that will validate the final amount and then apply it into the payment intent as currently, right ?
I think the latter would be better. Just confirm are you using standalone PaymentIntent, or by any chance Subscription?
Unfortunately standalone. It's like an artisan marketplace so one off payments - like an Etsy.
Thanks a lot for confirming this @remote lynx . Is there any plans in the roadmap to bring this feature into payment intents ?
https://stripe.com/docs/api/coupons
A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with conventional one-off charges or payment intents.
Yes it's called out here. Sorry for the inconvenience
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yep. a shame but thank you for the link and assistance!