#colin-rebilly_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1249887190704586772
đ Have more to share? Add details, code, screenshots, videos, etc. below.
This is the sample code we were given for Apple Pay. It's working great.
https://gist.github.com/kirbyk-stripe/8c13cf681b75169b6de18d6c9ed15e45
But for Google Pay, we send the following (example)
request
{
"card": {
"name": "**********",
"number": "************0042",
"cvc": "",
"exp_month": "12",
"exp_year": "2029",
"address_zip": "****",
"address_country": "GB",
"address_line1": null,
"address_line2": null,
"address_city": null,
"address_state": null,
"cryptogram": "YwAAAAEABcBmwnMAhH7kgA5hGAA=",
"eci": "07",
"tokenization_method": "google_pay"
}
}
response
{
"code": "invalid_request_error",
"message": "Tokenization method 'google_pay' requires a tokenized card number with a cryptogram. Use 'android_pay' instead."
}
Ok, I can't find any public doc about using DPAN directly with Google Pay, can I suggest you to reach out to support https://support.stripe.com/contact/email so that we can reply you through emails?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Yeah, it's undocumented I guess. That's why Kirby sent us the snippet for Apple Pay
I can't use the support because I"m not a Stripe client, I would have to ask our merchants to do that
I work at Rebilly which has Stripe integrated
You can ask your client to initiate the support ticket, and add you in the email cc loop.
Ok sure. Do you know the difference between passing "google_pay" and "android_pay" as the tokenization method?
I wonder if we should just try posting "android_pay" but the message seems to imply that if you have a cryptogram (we do) to use google_pay
I can't discuss undocumented or beta API in discord, please reach out to support.