vue-ravepayment icon indicating copy to clipboard operation
vue-ravepayment copied to clipboard

Problem with callback

Open bigfielddigital opened this issue 7 years ago • 5 comments
trafficstars

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.

bigfielddigital avatar Jul 27 '18 14:07 bigfielddigital

I think it's working for NGN but not for USD. Do you know why?

bigfielddigital avatar Jul 27 '18 14:07 bigfielddigital

@temiadesina can you acknowledge the situation?

iamraphson avatar Aug 13 '19 14:08 iamraphson

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.

anjolabassey avatar Aug 13 '19 17:08 anjolabassey

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

BrianMwas avatar Jun 04 '20 04:06 BrianMwas

I was able to fix it using another api that consumes the redirect URL

BrianMwas avatar Jul 15 '20 08:07 BrianMwas