#Thamila

1 messages · Page 1 of 1 (latest)

crimson haloBOT
subtle arrow
#

Hi there,
Yes with pleasure, how can we help you ?

inland star
#

hey so i need to do this

#

curl -u sk_xxx: https://api.stripe.com/v1/tokens \ -d pk_token=ApplePayPaymentToken.paymentData (decoded as JSON) \ -d pk_token_instrument_name=ApplePayPaymentToken.paymentMethod.displayName \ -d pk_token_payment_network=ApplePayPaymentToken.paymentMethod.network \ -d pk_token_transaction_id=ApplePayPaymentToken.transactionIdentifier

#

and when i use my secret key

#

they tel me that there is a problem aboite my key

subtle arrow
#

This is you private key, could you please delete it

inland star
#

i have to use the public one?

#

i use it like thia

#

this*

subtle arrow
#

Request Id can be found the header response under Request-Id , (aka req_123)

inland star
#

ahh i see

#

but all i do right now is that i get a tokenAppelPay

subtle arrow
#

Can you share your AccountId ? acct_123...

inland star
#

this one ?

subtle arrow
#

yes exactly, let me check

inland star
#

okey thank you

subtle arrow
#

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.
The there isn't a problem with your Stripe API secret key

#

The payment information you are providing are formatted improperly, you need to use the latest iOS library version

inland star
#

that's mean that i dont use the latest ios library ?

subtle arrow
#

It looks like yeah

inland star
#

but, in fact i try to do a appelpay payement with stripe without using payementrequest or payement button, because am using only a server to do it

#

so i try to convert appelpaytoken to a stripetoken by using this

#

so i cant add ttps://github.com/stripe/stripe-ios-spm to my client side because i dont use it at all i use just the server

subtle arrow
#

AFAIK, that's not the recommend why to accept Apple Pay, when converting Apple Pay tokens to Stripe token. But if you aren't using frontend from where you are getting the Apple pay payment tokens ?

inland star
#

i use a frontend but i just cant link my frontend to stripe

#

in fact i use a frontend that give me information like appelpaytoken and card information and in my server i use one of payement provider like stripe and paypal that's mean that i generate one think in my frontend and then i use my server that's why i c'ant link my frond and stripe so i can't use payement button or all js methods

subtle arrow
#

So it looks like that frontend don't use the latest IOS version

inland star
#

yeah and i just can't add it

#

is there an other way to convert a appelpaytoken to stripe token ?

subtle arrow
#

Nope that's the only option AFAIK

inland star
#

ouh ok

#

thank you