#Mahesh

1 messages · Page 1 of 1 (latest)

analog gyroBOT
iron glen
#

confirmPayment and it opens apple pay or google pay? Are you using Payment Element?

fallow fog
#

Yes

#

it opens Google Pay

iron glen
#

Um when you update the PaymentIntent, its client secret has already been supplied into the PaymentElement, correct?

fallow fog
#
  1. i create pi on server
  2. initialise client with client secret
  3. Some api to server & it will update the the pi
  4. after this api, now i'm calling confirmPayment on client
#

so if i update pi in backend, do i need to refresh payment elements?

#

when i test with other payment like ideal, giropay i don't see this issue. Only for wallets i'm having this

iron glen
#

Umm I see. 1 min

#

It's mentioned here

#

Literally you need to call elements.fetchUpdates();

fallow fog
#

thanks, i will try this