#changmin-paymentRequest-show-apple-pay
1 messages ยท Page 1 of 1 (latest)
NP! Like I mentioned before, calling the function manually would have some side effects. With Apple's strict guidelines, it is possible that we don't support the flow.
Yes
please don't close this window, I will promote the code without manully call and run the code again. I will let you see if I don't manually call, it will show other errors
NP!
I'll keep it open
thank you
You can see I comment the paymentRequest.show() and use the default show. but the payment show is always showing before my update because I fetch the data need time
you can see from next screenshot, that the payment sheet popup is already showing before my update when I debug
before paymentRequest.update() the popup has showed already
That' why I use the paymentRequest.show() instead of the default show by button
Is this Clear?
Give me a moment
This is really a niche usecase so not really sure
Thinking....
The stripe updateWith() only happens first time when shipping change event happens. When 2nd click the button, the shipping change event will not happens, it's reasonable but if I use the paymentRequest.update() after 2nd click, it can only use before the popup shows .
SO it's like a dead loop
stepping in here, catching up give me a sec
@fathom lily mind catching me up really quick, on where you're blocked?