#aliumujib
1 messages · Page 1 of 1 (latest)
Hello, apologies for the delay. Can you send me more about the ID that is being created that your backend does not recognize? Our API should recognize the ID as long as it is on the same account you are trying to use it with
Do you have the request ID of a time that you saw this error? (req_123)
Hi @hollow cape the Id is just the Id returned by stripe for googe_pay
it's litterally just the string "google_pay"
Can you send me the code that you are running where you get the string google_pay?
sure
`override suspend fun setSelectedPaymentOption(paymentOption: CustomerAdapter.PaymentOption?): CustomerAdapter.Result<Unit> {
var result = adapter.setSelectedPaymentOption(paymentOption)
when (result) {
is CustomerAdapter.Result.Failure -> {
Logger.warn(result.cause)
}
is CustomerAdapter.Result.Success -> {
paymentOption?.let {
paymentRepository.setSelectedPaymentMethod(paymentOption.id)
.onFailure {
Logger.warn(it)
result = CustomerAdapter.Result.failure(
it,
displayMessage = "Error setting default method card"
)
}
}
}
}
return result
}`
the above is the code that runs when the user sets google pay as the selected payment option
paymentOption.id is what returns google_pay
Thank you. I am less familiar with how to integrate directly with Google's API, will consult my colleagues and get back to you
thank you
Ah apologies, I did not realize that this was a beta flow
Unfortunately we can't help with those much on this server but you should have been given an email address to send beta questions to when you were onboarded
thanks for your response, I am not sure we were given an email. Is it support@stripe.com?
I think it is usually more specific than that but our support team should be able to help you and get you the email to reach out to in future https://support.stripe.com/questions/contact-stripe-support
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.