0

I'm currently using Drupal Commerce and the Commerce PayPal (https://www.drupal.org/project/commerce_paypal) module in order to allow my users to purchase items. That said, some of the items require that my customer be charged every month. Is there a way to store credit card data in order to run recurring payments (Commerce Recurring doesn't seem to be compatible with Commerce Paypal)? If I'm not mistaken, the documentation states that PayPal doesn't include the option to run recurring payments? Is there another module I can integrate in order to allow this?

0

2 Answers 2

3

We never implemented PayPal's direct recurring API, though there should be a patch in the queue to try out if you wanted. The thing to check will be real-time notifications of recurring charge failures and whether or not there's a user interface allowing the customer to cancel. Since it's PayPal, there very well may be from within PayPal itself.

PayPal does offer the ability to create Billing Agreements that you can charge against at later times, but while we included the ability to create Billing Agreements via Express Checkout, it was never fully integrated into the Commerce License Billing suite that we would normally recommend for recurring payment management.

In short, with PayPal your options are limited. If you are able to make use of Commerce Braintree instead, which is a PayPal company, I'd advise doing so, as that module offers a direct integration with Commerce Card on File (and therefore the license billing module).

1
  • 3
    Ah awesome - I'll switch to Braintree; I wasn't aware that it was compatible with Card On File. Thank you!
    – Brittany
    May 13, 2017 at 20:37
1

You don't want to store credit card data on your site, unless you plan to be PCI Compliant which I don't think you'd want to do.

You're better off finding a vendor-based solution. I'm pretty sure that Stripe offers this, and it integrates nicely with Drupal with Commerce Stripe module

1
  • I'll add an answer below, but basically, PayPal offers a way like other gateways to securely store card payer data, but it's complicated... May 11, 2017 at 13:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.