Is there a way to use pay-rails with GooglePay and ApplePay? #595
Unanswered
vuniverseklaus
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Google Pay and Apple Pay are handled client side in the Javascript or in native app code, not on the server where Pay is used. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm following this doc https://stripe.com/docs/google-pay for react-native
It requires a PaymentIntent, I'm doing it by setting the value of the subscription pricing, all working fine but some things does not happening:
Does not relate the paid intent to the logged user (this doc does not explain how to relate a payment with an api logged user).
Does not set a subscription for the user as paid.
I have all flow working with web integration using pay-rails using this piece of code:
This method returns an url to redirect to stripe but using Google Pay will not use a redirect.
I think pay-rails checkout/webhook do all relation between user and customer/subscription
so I don't know if I can use some method from pay-rails that handles creating the paymentIntent and receiving the hook from Stripe GooglePay paid...
Someone knows if can I use some method for this? or I can't use pay-rails with Google Pay / Apple Pay
Beta Was this translation helpful? Give feedback.
All reactions