#Zoro M

1 messages · Page 1 of 1 (latest)

pallid nicheBOT
frozen ridge
#

Hi there, so you want to create a Stripe token for an Apple Pay token?

foggy cedar
#

No, I can get an Apple Pay token from the client, but I didn't know how to use this for transactions.

#

When the user select Apply Pay, the payment amount is not known currently, I need to confirm I get the permit to charge customer's card, and I can get the Apple pay token

frozen ridge
#

So basically this is how it work with /v1/tokens API

  -d pk_token=<PKPaymentToken.paymentData decoded as JSON> \
  -d pk_token_instrument_name=<PKPaymentToken.paymentInstrumentName> \
  -d pk_token_payment_network=<PKPaymentToken.paymentNetwork> \
  -d pk_token_transaction_id=<PKPaymentToken.transactionIdentifier>

Once you have the Stripe token, you can use it to create a payment.

foggy cedar
#

OK I will try. Thanks.

#

Is Google Pay support the pending amount?

frozen ridge
#

Let me check, one sec

frozen ridge
#

I have some problem with my Google Pay setup so I can't test it out now