Integrate Drupal Commerce and Paypal
Trexle connects Drupal Commerce to Paypal and 100+ other payment gateways using a single plugin for one time annual fee
Paypal and Drupal Commerce Integration Guide
To integrate your PayPal Pro account with Trexle you would need your PayPal login, password, and signature. To obtain these credentials, after login into PayPal dashboard, click the gear icon which will take you to your settings. In your settings, click my selling tools, find API access, click update as shown below.
In the new screen scroll to the Manage API credentials link under NVP/SOAP API integration (classic) section as shown below.
In the final screen shown below, you will find your credentials.
Click show on each of them and write them down on a separated notepad.
Take the credentials you just obtained from Paypal and navigate to Trexle dashboard, click Payments Gateways and select Paypal from the drop down menu as shown below.
Fill into your Paypal credential and click Add Gateway. Click the Activate button next to Paypal, and it will give you a success message and the button will turn into green. You should see something like below.
After adding the Drupal Commerce module to your site, browse into Administration > Commerce > Configuration > Payment gateways. Configure the settings and insert your API key like the following screen.
Make a test product and test the checkout process.
Fill in the payment details using a test credit card.
While testing, use only the credit card numbers listed here. Other numbers produce an error.
Expiration Date must be a valid date in the future (use the mmyy format).
Credit Card Type |
Credit Card Number |
American Express |
378282246310005 |
American Express |
371449635398431 |
American Express Corporate |
378734493671000 |
Australian BankCard |
5610591081018250 |
Diners Club |
30569309025904 |
Diners Club |
38520000023237 |
Discover |
6011111111111117 |
Discover |
6011000990139424 |
JCB |
3530111333300000 |
JCB |
3566002020360505 |
MasterCard |
5555555555554444 |
MasterCard |
5105105105105100 |
Visa |
4111111111111111 |
Visa |
4012888888881881 |
Visa |
4222222222222 Note : Even though this number has a different character count than the other test numbers, it is the correct and functional number. |
Processor-specific Cards |
|
Dankort (PBS) |
76009244561 |
Dankort (PBS) |
5019717010103742 |
Switch/Solo (Paymentech) |
6331101999990016 |
Paypal Supported Countries
Paypal Supported Payment Processing Actions
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✔ Card Store
Key Features
About Trexle
Trexle is a powerful online recurring subscription billing platform that integrate Paypal and other +100 payment gateways with Drupal Commerce and other dozen of e-commerce platforms.
About Paypal
Paypal is an American company operating a worldwide online payments system that supports online money transfers and serves as an electronic alternative to traditional paper methods like checks and money orders. PayPal is one of the world's largest Internet payment companies. The company operates as a payment processor for online vendors, auction sites and other commercial users, for which it charges a fee.
About Drupal Commerce
Drupal Commerce is open-source eCommerce software that augments the content management system Drupal. Within the context of a Drupal-based site, Drupal Commerce presents products for purchase; walks customers through the checkout process; keeps track of invoices, receipts, orders, and payments; facilitates shipping and payment; and performs other functions needed by online merchants.