Account created on 14 July 2007, over 17 years ago
#

Recent comments

🇩🇪Germany bennos

Yes. Just a bit confusing, when In stripe other payments are enabled like Klarna or Paypal.

I think we need to make sure that theses Payments Option are not displayed in Payments Elements, id they are activated.
We also need to mention this in the readme.

Stripe and Klarna good with the commerce_stripe_klarna module.

🇩🇪Germany bennos

The card payments are working, but paypal and giropay does not.
Look like some logic is needed to handle this or we make clear in installation instructions and readme - only the following payments are supported.

🇩🇪Germany bennos

Some more information.

Stripe Element is configured as TEST.

I See the activate Card Payments, Paypal Payments (connected over Stripe) and Gpay.

I Authorize the Test Gateway and then

The website encountered an unexpected error. Please try again later.

Drupal\commerce_payment\Exception\InvalidRequestException: Invalid parameters were supplied to Stripe's API. in Drupal\commerce_stripe\ErrorHelper::handleException() (line 51 of modules/contrib/commerce_stripe/src/ErrorHelper.php).
Drupal\commerce_stripe\Plugin\Commerce\PaymentGateway\StripePaymentElement->doCreatePaymentMethod() (Line: 605)
Drupal\commerce_stripe\Plugin\Commerce\PaymentGateway\StripePaymentElement->createPaymentMethod() (Line: 394)
Drupal\commerce_stripe\Plugin\Commerce\PaymentGateway\StripePaymentElement->onReturn() (Line: 38)
Drupal\commerce_stripe\Controller\PaymentElementCheckoutController->returnPage()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 49)
Asm89\Stack\Cors->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 718)
Drupal\Core\DrupalKernel->handle() (Line: 19)

And in the Stripe Developer Logs :
{
"error": {
"message": "PaymentMethods of type paypal cannot be updated at this time.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_2TVBXZaXdRCBVS?t=1695301967",
"type": "invalid_request_error"
}
}

🇩🇪Germany bennos

this works
{{ drupal_entity_form('node', null, 'front_end_form', values={type: 'sighting'} ) }}

After you have added the form mode, you need a drush cr and make clear that the form mode is registered.

"'node.front_end_form'"
is wrong because you already define the entity type with "node". For the form mode just use maschine name here "front_end_form".

🇩🇪Germany bennos

patched with #5

the drush error has been disappeared and the drush cr command works now again.

I check the the rest of the functionality in the next days and give feedback.

Production build 0.71.5 2024