This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Ajax process to display an entity form in a popup

Hello,
I need help I am new in Drupal 9 Ajax development. I have developed a piece of code but it doesn't work.
To sumarise, I want to display an entity form in a popup. The popup is built dynamically with jQuery, I use Ajax to fill the popup and the form is built with in an ajax command.
\Drupal::service('entity.form_builder')->getForm($livraison, 'edit');

Drupal Commerce Stripe Payment Gateway Order No or Product Title

Hi

Sorry if this has been posted before but cannot find an answer.  I am using the Stripe Commerce Payment Gateway with Drupal 9. The payment system works fine, payments go through, shipping address is shared onto the Stripe order.  

What i was hoping for is the order number and the product titles to be shared into Stripe so the order would be easily cross referenced with the Drupal Commerce.  I have seen some posts that suggest the Description field in Stripe could be used for the order number and the product titles but they have tailed off.

Customizing the Edit Embedded Media form

We're trying to add a 'class' field to the media library CKEditor edit form using the code from the Media Library module docs:

Payment Gateway for Commerce that is SCA compliant

Hi

I am look for a payment gateway for Commerce that is SCA compliant.

I have tried to use Opayo (formally SagePay) but this is not SCA compliant.

Any recommendation would be great.

I am using Drupal 9.

Thanks for your help.

Neil

How to add Ajax dependent select in exposed filters

I'm working in an issue where I'm using the hook_form_views_exposed_form_alter() to change some fields from textfield to select and they're working fine. The filters are working and the results are ok.

Here the problem starts. Two of those selects are dependent. One of them, when I select the state, should change another one with cities related with such state. Unfortunately this is not working since the view is already using Ajax.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions