2
Answers
Vote up!
0
Vote down!

How to create a payment module

Hi,

We're trying to create a Drupal Commerce payment module for our company's special payment service, and implementation for Magento was pretty painless, but for Drupal Commerce, it's been a magical ride of confusion the entire ride, or maybe I'm not used to Drupal Commerce.

I've set up Drupal Commerce Kickstart and I'm trying to figure out how to set up a skeleton payment module ready to hook into Drupal Commerce, but the documentation i've come accross is.. well.. to put it nicely.. no need to start a fire: it could use some work.

Maybe I'm looking in all the wrong places, but I'm unable to find some clear and to the point documentation about writing payment method modules for Drupal Commerce. Can anyone point me to a 'Drupal Commerce Payment Method Programming for Dummies' before I lose the remains of my sanity? :)

Asked by: cappie
on July 21, 2014

Comments

2 Answers

Vote up!
0
Vote down!

Try reading the following instruction:
https://drupalcommerce.org/developer-guide/utilizing-core-apis/writing-p...

Be sure to pay special attention to the part directly above the "Special notes for off-site payment methods" heading.

I just finished writing a payment module and was able to use this, along with looking at other payment methods already written.

I hope that help, if not, add a comment and I'll help if I can.

Answer by: Darryl Porter
Posted: Jul 25, 2014