vue-ravepayment
vue-ravepayment copied to clipboard
Problem with callback
Hi, thanks for this great wrapper. I'm getting an error caused by not receiving the reference generated on the front-end in the callback. The call back basically isn't receiving any reference.
I'm working in the test mode, and I see on the receipt generated that the reference looks something like this FLW-MOCK-90bec9e9cb99b5e5605c478c0dc48675
Also, I see that after test card data has been submitted, the modal popup generates a link to complete a verification, the link has FLW-MOCK-90bec9e9cb99b5e5605c478c0dc48675 in the URL.
It says payment successful after completing the external form. However, I'm unable to process value for the payment on my app because the reference doesn't come in after the modal says payment successful.
Any idea, what is going on. I'm processing in USD, although I tested NGN it's the same issue.
Thanks.
I think it's working for NGN but not for USD. Do you know why?
@temiadesina can you acknowledge the situation?
hi @bigfielddigital it seems you are experiencing this with 3Dsecure payments. ensure that you are passing a redirectUrl because the response which contains the ref is appended to the url after successful payment.
PS: it is advisable to verify payments with the txRef and not the flwRef.
I also have a similar problem after a successful payment it redirects with a cannot POST error. How do I fix this? Since vue is SPA and does not have a post handler per say
I was able to fix it using another api that consumes the redirect URL