#pepski - apple pay

1 messages · Page 1 of 1 (latest)

dusty pebble
#

Hi there. What guide did you follow? Am a bit confused what your flow looks like

onyx perch
#

this guide

#

we are using the same server api function for card payments. Basically we get paymentMethod in the client side -> than we send the paymentMethod with all other information (amount,..) to the server. And server create payment intent and confirm it in the same call.

#

for card payments everything works pretty well. But we struggle with the apple pay integration.

We get the payment method correctly, than we send it to our server, where the intent is created and confirmed - payment go through without any trouble, but we have some issues with closing the apple pay button.

dusty pebble
#

Ah ok I understand. Yeah you'll need the payment intent client secret to call the completion block

#

(described in that section you linked)