#Thamila
1 messages · Page 1 of 1 (latest)
Hi there,
Yes with pleasure, how can we help you ?
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
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
This is you private key, could you please delete it
Request Id can be found the header response under Request-Id , (aka req_123)
Can you share your AccountId ? acct_123...
req_gIVOWgKQtLUqr0
this one ?
yes exactly, let me check
okey thank you
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
that's mean that i dont use the latest ios library ?
It looks like yeah
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
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 ?
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
So it looks like that frontend don't use the latest IOS version
yeah and i just can't add it
is there an other way to convert a appelpaytoken to stripe token ?
Nope that's the only option AFAIK