#MrMole-setupIntent

1 messages · Page 1 of 1 (latest)

sonic tiger
#

hi! not sure I understand the question. SetupIntents would be created by your backend code, which your frontend code(the screenshot) can connect with if you please, yep.

knotty lodge
#

in first step i would like to save my card details for future payment. Can i use for this apple pay?

sonic tiger
#

yes, you can use SetupIntents with Apple Pay

knotty lodge
#

so how to do it? because i am not sure :/

#

on example code in docs, i can see initPaymentSheet

#

but as you can see on screen, i am not using this

sonic tiger
#

that ^^ is the easiest way, using the PaymentSheet

#

I can indeed see you're not using it, but I would suggest using it.

knotty lodge
#

i think i tested it and it rendered form right?

sonic tiger
#

not sure what that means

knotty lodge
#

okay, let me check this first

sonic tiger
knotty lodge
#

okay this link will give me button but i need to confirm if it is possible to make scenario like that

  1. Make authorization of card by apple pay button
  2. save card details
  3. charge money later
#

as i can see, on apple pay you have to present sheet with items ect...

#

so in my situation i would have to present item for 0$ and after confirmation, charge the money?

sonic tiger
#

Apple Pay is not optimised for this use case(saving a card), but it totally works.

knotty lodge
#

hmm all right, last question, can i test on simulator or i have to test on real device in regarding to apple pay?