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

Problem with callback #2

Open
bigfielddigital opened this issue Jul 27, 2018 · 5 comments
Open

Problem with callback #2

bigfielddigital opened this issue Jul 27, 2018 · 5 comments

Comments

@bigfielddigital
Copy link

bigfielddigital commented Jul 27, 2018

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
Copy link
Author

bigfielddigital commented Jul 27, 2018

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

@iamraphson
Copy link
Owner

@temiadesina can you acknowledge the situation?

@anjolabassey
Copy link
Contributor

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.

@BrianMwas
Copy link

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
Copy link

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

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

4 participants