Jake-parkers / ionic-rave

Official Ionic 3 SDK for Rave
MIT License
1 stars 5 forks source link

Cannot POST /hosted/pay/undefined after submiting card or phone number #8

Closed Mowzey123 closed 4 years ago

Mowzey123 commented 4 years ago

Hello, I have followed all the instructions here on how to integrate rave API in ionic which seems to run fine. The payment modal pops up fine and I am able to add a card or mobile number.

On submitting the request redirects to this here

https://ravemodal-dev.herokuapp.com/hosted/pay/undefined?flwref=FLW-MOCK-e45deb3ca2053f0f55182f87747452e5&txref=kcmtj

and the response is: Cannot POST /hosted/pay/undefined

Mowzey123 commented 4 years ago

From rave dashboard support team, You need to add redirect_url when initializing the rave modal. I think it was missed here

elvisokohasirifi commented 4 years ago

I have the same issue. I have inserted my callback URL but it is still not working