#omoussaid_docs

1 messages · Page 1 of 1 (latest)

cloud stirrupBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1506297148164149369

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

wide cedar
#

Hey there, can you say a bit more about the specific flow/scenario where you encounter this?

When using Google Pay, you should already end up with a stripe token like you describe, even when using Google's own integration configures with your stripe account

cloud stirrupBOT
mental zodiac
#

Hey
We are using Google's sdk to obtain a token like this :
{"apiVersion":2,"apiVersionMinor":0,"paymentMethodData":{"description":"Test Card: Visa •••• 1111","info":{"assuranceDetails":{"accountVerified":true,"cardHolderAuthenticated":false},"cardDetails":"1111","cardFundingSource":"CREDIT","cardNetwork":"VISA"},"tokenizationData":{"token":"{"signature":"MEQCH1yxyNjOVPEFFdieOsxK8f2I/3yCZvRImrNKqGC91NUCIQDT0YZ/Ef197pTdCLQXaTXY3ZHpLkvCz0oxeizuBa1VEw\u003d\u003d","protocolVersion":"ECv1","signedMessage":"{\"encryptedMessage\":\"ePw95IyV23avuPLwZhpXBIiQXdgJZQH5C+Us+IBROKHE4uBbOhbkOFjpN+8WKNfTTS/7rJtd/9o+1gekRvroTMQ+h15vDxoTWXXSWY8fJN74NMxvm9jMakC0glQK0pfyQ0JCpAcZx322uLWbHr5r6DqfPO9zQvCEJqeluq7I4iKIMyZJ0otlP7zhQtgiPPYct136A7/xRI4BBkIkdgszrkZlJ6kFl5jMSRpsYF7TK453Ge34Efuvbp8Ll+PumVJQAEmyl5TH0ytZa/I8qwwZ9SCG8Bi2zAYUlCvNjcj3HyE0is0pUfYIG346B9RipodzEPpmIJON266SGWXe7AC6uq0YxJRKuo/N3d3TsyDQRuOxP1YPTtcCFXow7NpfkTy6BQY6KPTs+kRBudSfJ+gTvyUV7qx+19eMz3pf2BZXBY3BA6G43aQ\\u003d\",\"ephemeralPublicKey\":\"BJe4XOlYH/Oxko68Q9uo8Bo0Zalfl5Lk6QGLvz7cMI6RM9tnnf3KmC8pvzwNT602mVWmJwgnfPgXe7VyM/Q9Q0g\\u003d\",\"tag\":\"UA9PY9r3X0LF6GH2BuzmHiN0IyG21cdzJJobmTfLpec\\u003d\"}"}","type":"PAYMENT_GATEWAY"},"type":"CARD"}}

the same way we have already done with applepay, this token should be exchanged with a stripe token to be able to create the paymentIntent later right ?

pastel egret
#

hi there, taking over for synthrider as they had to step away. this is a non-public flow, and requires approval to enable. you'll need to reach out to Stripe Support to get approved https://support.stripe.com/?contact=true

mental zodiac
#

Ok we will request activation for merchant account
Can you provide an example of the api call so that we can start devs ASAP please ?

We had the same need and we have got this answer on discord

pastel egret
#

I believe the parameters for /v1/token would look something like this:

card: {
  tokenization_method: "android_pay",
  eci: "05",
  exp_month: XX,
  cryptogram: "base64cryptogram",
  number: XXXXX
  exp_year: XXXX
}

but since this is a non-public flow, it's not something my team is very familiar with. Support will be able to supply you documentation once you've been approved