Hi,
when we click on "Stripe Credit Card" in the "Add payment method" page in Payment, we get a 404 not found error.
The URL is then set at : http://example.com/admin/config/services/payment/method/add/\Drupal\stripe_payment\CreditCardController
I put the critical flag on it since the beta7 is marked as the recommended release and that issue completly block users from using the module.
EDIT : After writhing the issue, I figured out the problem was about the clean url. WHen I use http://ecample.com/index.php?q=admin/config/services/payment/method/add/\Drupal\stripe_payment\CreditCardController it works. I'm putting the issue to "Major", since it is a problem on websites using clean URL, but it is still accessible.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2574141-stripe_payment-machine-name-4.patch | 1.1 KB | torotil |
Comments
Comment #2
memsis commentedComment #3
torotil commentedThis doesn't seem to be the case for most users. What's your payment version? Might this be an issue with your clear_url rewriting?
Regardless of that it might be a good idea to use a better machine-name for the payment method (which became possible in more recent payment versions).
Comment #4
torotil commentedRegardless of the above questions: Does this patch help?
Comment #5
torotil commentedComment #6
memsis commentedPayment version is 7.x-1.14
I have no other issue with the URL rewriting. I'm using the RewriteBase in htaccess since I'm using virtualdocumentroot in dev. But everything else works properly, even custom modules where I screwed up the URL at first...
The patch works for me! It removed the error, and I tested without clean URL and it works too.
Comment #8
torotil commentedIt seems the reason for your error is some problem with handling backslashes in the URL. That might be a browser, server or PHP issue. Anyway I've committed the patch and plan to make a new release in two weeks.