Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback url not called #5

Open
raquelhortab opened this issue May 25, 2021 · 0 comments
Open

Callback url not called #5

raquelhortab opened this issue May 25, 2021 · 0 comments

Comments

@raquelhortab
Copy link

Hi, it seems like no one read this but I'll try anyway. I cant get the callback url to get called when a payment is completed. I am using the sandbox environment. I get to create the order and redirect the user to the payment page. The "back" button (success url) and the cancel url work. However, the callback url is never called. These are the main parts of the code:

order = CoinGate::Merchant::Order.create(
...
callback_url:         gift_card_confirmation_url(token: gift_card.key)
...
)

on routes.rb

post 'gift_cards/confirm_payment', to:'api/gift_cards#confirm_payment', as: :gift_card_confirmation

Can anyone point me out what is wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant