#colin-rebilly_api

1 messages ¡ Page 1 of 1 (latest)

winged shadowBOT
#

👋 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.

stable folio
#

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."
}
junior ginkgo
#

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?

stable folio
#

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

junior ginkgo
#

You can ask your client to initiate the support ticket, and add you in the email cc loop.

stable folio
#

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

junior ginkgo
#

I can't discuss undocumented or beta API in discord, please reach out to support.