I've enabled PayPal Express checkout and during test purchase which I click to pay, the PayPay prompt box appears briefly, but then closes again with a second. Why is it doing this and how do I fix it please?
I've tested 'PayPal Payments Standard' and that works fine, but I'd like to get the express checkout working.
Thank you
Make sure by enabling the test mode and disabling it for this payment module that the following fix is involved:dupfold wrote: ↑Thu Aug 24, 2017 2:33 amHello
I've enabled PayPal Express checkout and during test purchase which I click to pay, the PayPay prompt box appears briefly, but then closes again with a second. Why is it doing this and how do I fix it please?
I've tested 'PayPal Payments Standard' and that works fine, but I'd like to get the express checkout working.
Thank you
- https://github.com/opencart/opencart/bl ... press.twig
- https://github.com/opencart/opencart/bl ... xpress.php
- https://github.com/opencart/opencart/bl ... xpress.php
Reinstallation of the module might be required:
- https://github.com/opencart/opencart/bl ... xpress.php
- https://github.com/opencart/opencart/bl ... xpress.php
- https://github.com/opencart/opencart/bl ... xpress.php
- https://github.com/opencart/opencart/bl ... order.twig
- https://github.com/opencart/opencart/bl ... erred.twig
- https://github.com/opencart/opencart/bl ... earch.twig
- https://github.com/opencart/opencart/bl ... ction.twig
- https://github.com/opencart/opencart/bl ... /common.js
- https://github.com/opencart/opencart/bl ... /common.js
Otherwise, it is still considered as sandbox even though you make the change. I would even suggest to change that entire file noticing if it will resolve the issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
On a similar note, how do you generate sandbox username/password and signatures within the paypal website itself and not by using opencart quick setup configure sandbox button?
Well ... did you tried the solution noticing the results?Did straightlight's suggestion of reinstalling express checkout work for anyone? Or is there another solution?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
On a similar note, how do you generate sandbox username/password and signatures within the paypal website itself and not by using opencart quick setup configure sandbox button?
In this case, it ain't because it doesn't work for you. It is rather because no prior question was asked regarding where exactly would the test mode be found in the OC admin. You need to go to the admin - > extensions - > extensions - > payments (x) - > PayPal Express Checkout - > Edit. In the form, change from Live or Production to: Test or Sandbox.Yes I've tried it, but it doesn't work for me. I am confused by "Make sure by enabling the test mode and disabling it for this payment module".
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I don't have sandbox mode enabled, because I don't know how to get sandbox credentials (PayPal API Sandbox Username / Password, and PayPal API Sandbox Signature) within the PayPal.com website itself. This is a side issue that is on a related note, but not the same question. It may have caused confusion.
See if this solution resolves the issue with Sandbox options: https://github.com/opencart/opencart/pull/5983The question is that the live production version does not work. As originally described in this thread, the paypal window immediately disappears after the checkout button is clicked. The fix you suggested did not work for me which is why I asked if anyone had success with it.
Instructions on how to create a sandbox account with PayPal: https://www.youtube.com/watch?v=gNr2WmhEjWEI don't have sandbox mode enabled, because I don't know how to get sandbox credentials (PayPal API Sandbox Username / Password, and PayPal API Sandbox Signature) within the PayPal.com website itself. This is a side issue that is on a related note, but not the same question. It may have caused confusion.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Edit: to clarify - I have changed environment: 'sandbox' to environment: '{{ environment }}', but paypal login window still disappears. Browser cache has been cleared.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So I don't understand how to fix it
Replacing code into files from github or configuring sandox?
Should I move something from this https://prnt.sc/jcadyo ?
thanks
I have replaced the 2 pp_express.php files in their 2 respective directories, replaced the provided pp_express.twig contents in that file in its given directory, and i cleared the cache, but the paypal window still closes for me. I did disable context and it works by loading paypal in the same tab as the cart was in, which technically works, but if the context menu will allow them to stay on my page, that would be preferred.
Is there something more i can try? who got this solved and what did you do to fix it? i just installed express checkout and set it up, have never done sandbox, and haven't tried a full reinstall of the pp express module/extension as i haven't done anything extreme to see the need to reinstall it. however, i will reinstall if i have to.
Thank you in advance for all your efforts, hard work, for connecting here and helping people and a huge shoutout to all the coders who have made opencart a reality. also special thanks to straightsight, i have read MANY of your posts/comments here and you are an exemplary human.
Users browsing this forum: No registered users and 11 guests