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

Drupal Commerce 8 - Difference between Payment Gateway and Payment Method

I want to develop a Payment Gateway for Drupal Commerce 8. But I don't really understand the difference between a Payment Gateway and a Payment Method. What are the differences? What belongs where and is there any payment module available to see a good example?

Edit: I am talking about the classes

Drupal\commerce_payment\Plugin\Commerce\PaymentMethodType\PaymentMethodTypeBase 

and 

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\OnsitePaymentGatewayBase

Rewrite rule in htaccess file

I want to redirect a URL like https://example.com/index.html#services to https://example.com/clientsin .htaccess file in Drupal 8. Kindly help me.

Drupal cannot connect to external server via ssl. Error opening socket ssl://

I have a php7.1 server running with Drupal7.63. Drupal is not able to connect to any external servers via ssl.

Cannot connect to Solr server:

SearchApiException: "0" Status: : Error opening socket ssl://mydomain.com:18000 in SearchApiSolrConnection->checkResponse() (line 546 of /drupal/sites/all/modules/contrib/search_api_solr/includes/solr_connection.inc)

Cant connect to formassembly server:

Confirmation mail after purchase

Hi Community of Drupal,

I am facing a problem regarding the settings for the e-mailForm after purchase.

It is not in the right order. For now it is:
-product,
-total (and this ammount is price including shipment) 
-shipment.

How can I make the correct order, like first product, then shipment and "total" last?

2 form buttons, almost even, one calls ajax as supposed to, the others don't. Any ideas?

I built a form table. Each row has a delete button. In the last row of the table there's an add button. Although the buttons are almost identical, the add button works with ajax, the others don't.

Create dynamic content based on multiple fields

I have a few requirements that I can't find an obvious way to complete with contrib modules so am looking at rolling my own.

Pages

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