#BAGIRA-Apple Pay

1 messages · Page 1 of 1 (latest)

grave path
#

Hi there, how can I help?

limpid forge
#

So I have integrated apple pay's native web component in reactjs

#

and they are giving me encrypted data

#

now I want to make a payment through stripe from that data so is there anyway that I can try off

grave path
#

what do you mean by native web component? is it native or web?

limpid forge
#

native means what apple is providing. not the stripe component

#
--header 'Authorization: Basic c2tfdGVzdF9DVHFVU1daUFBtU1JpdGQ4WlA4SkFaMEUwMG5lZzdLRUhrOg==' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'pk_token={"applicationPrimaryAccountNumber": "17029283048730","applicationExpirationDate": "231231","currencyCode": "840","transactionAmount": 500,"deviceManufacturerIdentifier": "544555544456","paymentDataType": "3DSecure","paymentData": {"onlinePaymentCryptogram": "IE0QTuXZlbG9wZXIgUmiQAQojEBhgA="}}' \
--data-urlencode 'pk_token_instrument_name=Visa 0121' \
--data-urlencode 'pk_token_payment_network=Visa' \
--data-urlencode 'pk_token_transaction_id=105B842B2DFC66B130232EE9B540BC345FD0FAC2B72795CFE5F579B4804573D3'```
#

Hitting this api but getting error

grave path
#

What error?

limpid forge
#

{ "error": { "message": "Your payment information is formatted improperly. Please make sure you're correctly using the latest version of our iOS library. For more information see https://stripe.com/docs/mobile/ios.", "type": "invalid_request_error" }}

grave path
limpid forge
#

req_U8zOQ0mvX9TKSo

grave path
#

Are you using Apple Pay on the web?

limpid forge
#

yes

#

I followed this thread

limpid forge
#

any update?

ocean hound
#

@limpid forge I'm terribly sorry Jack Tan had to step away and your thread fell under my radar

limpid forge
#

No worries.

ocean hound
#

sorry again @limpid forge, but I didn't seem to find anything regarding your request in our docs, I will try to ask help from a colleague

limpid forge
#

Alright

modest galleon
#

I don't understand why you're not using our SDK