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?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | commerce_paypal_wtf.png | 54.74 KB | rowbotony |
Comments
Comment #1
igawlik commentedComment #2
olmeta.david commentedHello,
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.
Comment #3
rowbotony commentedI am also experiencing this problem. On the order review screen
checkout/xx/reviewI 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).Comment #4
andyg5000@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.
Comment #5
rowbotony commentedandyg5000, 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
Comment #5.0
rowbotony commentedNew observations