#thiagomacauba88 - Apple Pay

1 messages ยท Page 1 of 1 (latest)

unreal moon
#

Hi ๐Ÿ‘‹

left swallow
#

1 sec

#

this one?

#

req_igZJNdLxEde4HP

unreal moon
#

This is a setup intent. Even if it was successful there is no charge to the payment method provided.

left swallow
#

but when i go to my transactions

#

i can see the charge

unreal moon
#

What is the charge ID? This request will never create a charge

left swallow
#

1 sec

#

the last one: ch_3LIzAmLHApDCvUBn05Skfc0j

#

$2.00

unreal moon
left swallow
#

so, what's my issue?

#

any ideas btw? ahha

unreal moon
#

I don't know. The error you are seeing is that the Payment Method used in creating the Setup Intent has already been consumed and so cannot be attached to a customer.

#

I don't know why the Payment Intent (where the charge comes from) is being created

left swallow
#

i have no idea, it's the same flow that I'm using to charge

#

without applePay

#

the only difference is the PaymentCreatedMethod is created from ApplePay

unreal moon
#

So this is your own integration? How are you creating both a Setup Intent and a Payment Intent?

left swallow
#

Calling /setup_intent, /confirm_payment

unreal moon
#

Okay, step back, what are you trying to achieve here?

#

Do you want to collect a charge, save a payment method for later, what?

left swallow
#

no no, just a normal pay through applePay

unreal moon
#

Oaky so what are you doing with a Setup Intent. Those are used to save payment methods for later use

left swallow
#

can i share the piece of the code?

unreal moon
left swallow
#

it doesnt make any sense, because i already have the payment flow working

unreal moon
#

Why don't you break down the steps you are taking both on the server and client side

acoustic stone
#

HI ๐Ÿ‘‹ jumping in as my teammate needs to step away.

left swallow
#

Hey toby, any ideas about that?

acoustic stone
#

Can you share with us what your flow is doing?