#_kevinx
1 messages · Page 1 of 1 (latest)
Can you share the checkout session id where this happened?
I setup the coupon ceyKG2ix
then added allow_promotion_codes: true,
when I tested the checkout session and put in the promotion code, it says invalid code
Ah it's because no cost checkout wasn't added until a later api version. You'll need to upgrade
Your coupon is discounting the amount to 0
So you need ^
No you need to upgrade your api version
Great, thanks, let me check this out
Can I have another question, we allow users to setup standard connect account, is there a webhook event that tells us once his/her account is setup successfully?
yeah account.updated
because without that account, obviously the user can't take payment and conduct business
you need to check for charges_enabled and payouts_enabled
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.