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

Checkout keeps redirecting to order-success page #36

Open
hilbertknl opened this issue May 7, 2021 · 5 comments
Open

Checkout keeps redirecting to order-success page #36

hilbertknl opened this issue May 7, 2021 · 5 comments
Labels
ℹ️ status: need more info When waiting for user to supply database or more information.

Comments

@hilbertknl
Copy link

Description
I hope you have an idea how this is possible. I get redirected to the success page every time I try to finish my order.

To Reproduce
Just created a new App in the PayPal Developer Portal (live and dev).

In the Craft Gateway, I swapped the old version (for Commerce 2.0) to the new payment method with the created keys.

Every time I try to finish my order on the front-end, I will be redirected to the order success page without seeing PayPal.

We don't use the payment HTML as suggested, we have our own HTML which works well with the current PayPal link.

Does not work with our live or sandbox keys. There are no logs available in the storage/logs folder.

Expected behavior
I would like to see the PayPal payment screen.

Additional info

  • Craft version: 3.6.12
  • Commerce PayPal Checkout version: 1.2.0
  • Commerce version: 3.2.17.4
  • PHP version: 7.3
  • Database driver & version: -
  • Other Plugins & versions: -

I hope this is some kind of setting, like to hear from you soon :-).

@hilbertknl hilbertknl added the New label May 7, 2021
@DanielDarrenJones
Copy link

I am having the exact same issue here, does the same behaviour when using test mode with sandbox credentials as well as non test mode and the live credentials.

@nfourtythree nfourtythree added ℹ️ status: need more info When waiting for user to supply database or more information. and removed New labels May 18, 2021
@nfourtythree
Copy link
Collaborator

Hi @DanielDarrenJones & @hilbertknl

I am unable to replicate this with the latest Commerce and PayPal Checkout plugin using the example templates.

In a test/local environment if you try using the example templates do you still get the same issue?

You mention using custom HTML (I assume JS) have you updated this to work with PayPal Checkout as this is a different implementation than the previous PayPal gateway plugin.

Thanks.

@hilbertknl
Copy link
Author

Hello @nfourtythree,

I will try the examples in the next couple of days. I will get back to you.

@hilbertknl
Copy link
Author

Hello @nfourtythree,

Using the example template did not fix my issue, unfortunately.
Do you have other options we can try?

It is also a possibility to give you access to our development environment.

Kind regards,
Hilbet

@nfourtythree
Copy link
Collaborator

Hi @hilbertknl

I think it will be best to take this through support.

If you could email your composer.json, composer.lock and a backup of your DB to [email protected] we can try and replicate your issue to see what is going on.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ℹ️ status: need more info When waiting for user to supply database or more information.
Projects
None yet
Development

No branches or pull requests

3 participants