Basically the issue is as described in title. I've tried reinstalling the module but that didn't help. I also spend a bit of time messing around with rules but that is rather not an issue. Moreover, I had succesfully configured module with PayPal's sandbox, but after switching to live account the problems began. Changing back to sandbox doesn't solve the issue. Do you have any ideas what might be the case?

EDIT:
After changing order of panes in the checkout settings page (placing payment in shipping section, and off site payment in review section) I'm able to preceed to the PayPal page. At that stage, the issue no longer seem to be the Commerce PayPal relatad. Still, I'm not able to get redirect to work in the normal setup of checkout pages. Any ideas?

CommentFileSizeAuthor
#3 commerce_paypal_wtf.png54.74 KBrowbotony

Comments

igawlik’s picture

Title: After selecting Paypal payment method user doesn't get redirected to PayPal, checkout completition page gets displayed instead » After selecting Paypal payment method user doesn't get redirected to PayPal, checkout completion page gets displayed instead
olmeta.david’s picture

Hello,

I had recently this problem : the user, when he was going to be redirected to paypal website, the drupal payment page was refresh in loop.

I found in Commerce module that a javascript code submit the payment form periodically.
So the conclusion was the form['#action'] was not taken into account.

And unfortunately, there was a custom module made by another team which made a form['#action'] = ''; in a hook_form_alter()...

Hum... No comment...

So I think the module works well but we have to be careful to another module.

rowbotony’s picture

StatusFileSize
new54.74 KB

I am also experiencing this problem. On the order review screen checkout/xx/review I have three payment methods. Stripe is set as default, if I select the PayPal option, then the [Continue to next step] button doesn't work. I keep clicking in and it just refreshes the order review page, never allowing me to advance and make a payment. I can switch back to Stripe and Stripe will work again, but PayPal does not work unless it is set as the default payment method (above Stripe).

andyg5000’s picture

Status: Active » Closed (works as designed)

@drupaleg,
The stripe module adds a JavaScript file to the page for validation whenever the Stripe payment method form is requested. The JavaScript does client side validation that breaks all other payment methods. This validation needs to be changed to only happen when Stripe is the selected payment method. I'll open a bug report on commerce_stripe explaining this.

It appears that all issues other than that are related to similar bugs caused by other modules or misconfiguration.

rowbotony’s picture

andyg5000, thank you kindly for your help in diagnosing this problem, as well as opening the related issue in the commerce_stripe queue #1706974: JavaScript Validation issue, much appreciated!

Thanks!
--Tony

rowbotony’s picture

Issue summary: View changes

New observations