#parth-ios-coupon

1 messages · Page 1 of 1 (latest)

unborn bladeBOT
warm mist
#

parth-ios-coupon

#

Hey @mortal trellis ! There's no "discount" or "coupon" support at all on our payments APIs. What this means is that you mostly would build this completely yourself with your own UI, collect a discount code you construct and then do the math to calculate the final amount of the PaymentIntent after applying a coupon/discount/your own logic

mortal trellis
#

When you say discount code you construct is it something that is to be done on my server and then create an appropriate paymentIntent?

warm mist
#

@mortal trellis You could use that API but you will have to do all the math and validation as there's no compatibility between PaymentIntent and Coupon at all

#

so really I would just recommend building this yourself. This API is more for people using Checkout or our Billing products

mortal trellis
#

Oh okay.
I have 2 really simple questions and that would be all.

  1. Is there a way to configure Stripe's Payment Sheet such that I can take discount code as input? So basically can it be modified to add a TextField?
  2. Apple’s developer terms require their In-App Purchase API be used for digital “content, functionality, or services,” such as premium content for your app or subscriptions for digital content.

Using the above quoted text can you help me confirm whether I should be using Apple's or Stripe's Apple Pay Functinoality. I am creating subscription for users using that they are allowed to make more friends through the app, so is such service consdered to be digital?

warm mist
#

no for #1 you have to explicitly add this before PaymentSheet

#

#2 I would assume IAP but I don't know honestly, this is an Apple decision. You'll have to ask Apple