- πΏπ¦South Africa vlooi vlerke
Here is a step by step report on how to reproduce this bug on a new install.
1. Install commerce stripe with composer (composer did not install the stripe library)
2. Download stripe library and place it in the libraries/stripe-php folder3. Create a stripe payment method
Add test keys
Deselect - Collect billing information
4. Purchase a product and select Stripe payment method
Add test card details
5. Review payment
6. Click on pay and proceed
The website encountered an unexpected error. Please try again later.
The error logs
Type commerce_order User Anonymous (not verified) Location /checkout/6/payment Referrer /checkout/6/review Message InvalidArgumentException: The URI '' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 293 of C:\wamp64\www\lovevolution\public_html\core\lib\Drupal\Core\Url.php).
Second error
Type php User Anonymous (not verified) Location /checkout/6/payment Referrer /checkout/6/review Message Drupal\Core\Entity\EntityStorageException: The URI '' is invalid. You must use a valid URI scheme. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of C:\wamp64\www\lovevolution\public_html\core\lib\Drupal\Core\Entity\Sql\SqlContentEntityStorage.php).
- πΏπ¦South Africa vlooi vlerke
The issue was caused not by this module but by webform product module that adds a URI to the checkout process.
It works as expected
- Status changed to Closed: works as designed
over 1 year ago 7:51am 5 April 2023