#antoine q
1 messages ยท Page 1 of 1 (latest)
๐ Thanks for reaching out
- If you are knowing the date, yes Deferred is a good option
- In this case, so you can't use the Deferred without knowing the date because it's required in fact
Before migrating, are you using SetupIntent for your use case ?
Yes we do
Does it mean we should rather use Immediate if we don't know the date in advance ?
My only fear is that using Immediate will make the payment fail if it is done later
It's a great question, I don't think we have great guidance on it. This is basically a wrapper around some new functionality Apple added in iOS 15 with https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttiming
I agree there's no clear answer what to do for the case where it's "deferred but the date is not known". My instinct would be to go with Immediate as a default. I don't think any of this has impact on whether payments are declined or not, it's just for display purposes and better customer UX
ultimately Apple can and will reject apps during App Review if they feel the way you report the payment is not what they want to see, so the answer might end up being revealed at that point. I wish I had a better answer but this is fairly new and we don't have a lot of info on it yet
Alright, we'll see at review time then ๐
Thank you very much for your help guys ๐