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

Error after payment is successful [URGENT] #16

Open
marvelefe opened this issue Nov 16, 2020 · 4 comments
Open

Error after payment is successful [URGENT] #16

marvelefe opened this issue Nov 16, 2020 · 4 comments

Comments

@marvelefe
Copy link

Please the paystack plugin gives an error after checkout

Please follow the screenshots:

My current environment:
Screenshot (379)

Selected the paystack payment method during checkout and chose a test card (I am working in test mode)
Screenshot (377)

I get a notification that payment is successful. Also the test payment confirmation is sent to the Paystack account owner.
Screenshot (378)

What happens next is I am redirected to an error page
It says an error was encountered.
No value was given for the transaction.
No order was placed on the website and also the cart is not cleared.
It's almost like nothing happened.

Please kindly take the steps I took to recreate this error. I would appreciate a prompt response.
Thank you.

@marvelefe marvelefe changed the title Error after payment is successful [URGENT} Error after payment is successful [URGENT] Nov 16, 2020
@niiaboni
Copy link

This issue is still pending. Has anyone been able to successfully use this plugin in the last year?

@cadaverwater
Copy link

This issue is still pending. Has anyone been able to successfully use this plugin in the last year?

I am also having the same problem , did anyone solve it yet ?

@tolu-paystack
Copy link

@cadaverwater could you please share a screenshot of the error page along with info on your Prestashop environment?

@lionaruc
Copy link

I don't know if this will help anyone here but if you are running a newer version of PrestaShop the issue is with the Tools module not having the JsonDecode method anymore since it is now on by default in new versions of PHP. Just go to

paystack/controllers/front/paystacksuccess.php and change line 59 to the following

$result = json_decode($request);

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

5 participants