#masonictemple4

1 messages · Page 1 of 1 (latest)

umbral dawnBOT
spark portal
#

Yeah, you would either have to use Checkout or script logic on your backend to adjust the amount that is passed through the amount parameter to reflect the reduction when the Payment Intent is created.

Here are some docs for setting up Checkout in a webpage: https://stripe.com/docs/checkout/quickstart
As for iOS you would either need to direct the customer to their browser for Checkout, or script your own logic for applying dicsounts

neat solstice
#

Is there a way for us to mark a coupon/promotion code as used without applying it in the checkout session? That way we could just grab the coupon apply the discount to the ammount in our payment intent and mark it used by a specific customer?

spark portal
#

You could delete the Coupon after it is "used" in this case, but I think that's the only workaround aside from the ones I mentioned above