#rahul_apple-deferred
1 messages · Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- rahul_api, 1 day ago, 52 messages
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1248050670616182855
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
On Apple's docs, they have the concept of a PKDeferredPaymentRequest
but there's no concept of that on Stripe's system
I don't really get what kind of payment flow you are talking about. Can you try and give a concrete example of who pays what when first?
TLDR:
- user buys a ticket to an event on date A, and needs approval from the host. They're on session at this time, and authorize the payment / choose a saved set up payment method
- the host approves the user on date B, and we actually make the charge on date B
Doing it with cards is easy - we use setup intents to set up the cards, and do server side payment intent confirmation
But how does this work with respect to Apple Pay? (for now, just targeting iOS)
Gotcha. Conceptually you can do the same with ApplePay on Stripe. Like have you tried in Test mode? Is it not working for you?
rahul_apple-deferred
1 sec
On Apple's docs, they explicitly have a Deferred payment option
PKDeferredPayment
and they have a regular one
Stripe
StripeAPI on IOS has the functions needed for the regular payment option
but not for the deferred
am i allowed to use the normal flow for Apple Pay with a deferred payment
as far as I know yes, you are allowed
ok awesome - just wanted to check since Apple is always finicky with these things
I'm asking my team to double check but will take a bit of time. And you're doing this in your own iOS app with our iOS SDK, not on a website?
and greatly appreciate it :)
lol I have seen this a lot so I'm not surprised :p
Okay so on the web we do support exactly what you want in ExpressCheckoutElement based on https://docs.stripe.com/js/elements_object/express_checkout_element_click_event#express_checkout_element_on_click-handler-resolve-applePay-deferredPaymentRequest and https://docs.stripe.com/apple-pay/merchant-tokens?mpan=deferred&pay-element=ece
We mention iOS there too but no code example so I'm still digging
much appreciated - i'll pass em along
lmfao one of our ios devs was literally saying that being an ios dev is harder than web purely because there's such little documentation anywhere
lol
Okay I found this https://stripe.dev/stripe-ios/stripepaymentsheet/documentation/stripepaymentsheet/paymentsheet/applepayconfiguration/handlers/paymentrequesthandler that I think is relevant. It points to configuring your PKPaymentRequest the way you want to.
So that might be what you are after
Unfortunately no one else on my team is around who knows anything about this so you might have to write in to our support team if that approach doesn't work: https://support.stripe.com/contact