Google Pay payment doesn't get processed #331
-
Here is what I have for my instant payment button:
And after I click on the Google Pay button, it opens the popup and I click continue (to pay) but after that it just closes and nothing happens, it looks like the onSuccess function is triggered, but when I check Swell orders, that is not processed, what is the problem, can someone help me with this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
One more thing, I found out that those "orders" are at least getting added in the "carts" in the Swell dashboard, and I found this https://github.com/orgs/swellstores/discussions/116, but can someone help me what this means: "In the case for Apple or Google Pay, you will see these appear as credit cards in the Swell dashboard." because as I said I'm not getting anything from the onSuccess callback. |
Beta Was this translation helpful? Give feedback.
Hey @rinorzek, the
onSuccess
callback has no arguments. It is called upon successful processing of payment data from the Google Pay modal. This means that the cart billing is configured correctly and the cart is ready to be converted into an order (swell.cart.submitOrder()
).