mollie / mollie-api-php

Mollie API client for PHP
http://www.mollie.com
BSD 2-Clause "Simplified" License
550 stars 189 forks source link

Recurring / subscription payment methods clarification #79

Closed DePalmo closed 7 years ago

DePalmo commented 7 years ago

The documentations on your website are not quite clear on this one, so I'm posting a question here.

From your documentation I figured out that these are the correct steps to create a subscription (please correct me if wrong):

  1. check if customer already exist in Mollie database and if not, create it
  2. use customer ID returned by API to create first payment with recurringType=first for that customer
  3. redirect customer to URL returned by API where they can select payment method (more about this below)
  4. when customer returns to (our) website, check if any Mandate is active or pending for that customer and create a subscription, where same payment method is used as customer selected in step 3
  5. if all goes well, subscription is created

A few issues or better to say, questions regarding steps above:

  1. Payment method. Why customer can't select SEPA Direct Debit on first payment?
  2. How a customer can use a SEPA Direct Debit for subscription? Please provide exact steps to take.
  3. In my test environment, I only enabled SEPA Direct Debit, but I got listed other payment methods as well (please note that all methods except SEPA Direct Debit were disabled). Why?
  4. Do payment method iDeal, SOFORT, MisterCash, Bitcoin, KBC, Belfius support recurring billing? If not, why are they listed when customer is making first payment? What happens when customer selects any of payment methods that does not support recurring billing and a recurring billing was created and next period for billing happens?
ndijkstra commented 7 years ago

Recurring payments are only possible with the payment methods SEPA Direct Debit and Creditcard. For the first payment you can use iDEAL, Bancontact, SOFORT, Belfius and KBC (recurring with SEPA Direct Debit) & Creditcard (recurring with Creditcard).

It's not possible to use SEPA Direct Debit as one-time payment method or first payment. When a customer finish a first payment with for example iDEAL, the subscription payment is automatically a SEPA Direct Debit payment. If the customer uses a creditcard as first payment the subscription payment is a Creditcard payment.

DePalmo commented 7 years ago

Thank you for a clarification!