mollie / laravel-cashier-mollie

Official Mollie integration for Laravel Cashier
https://www.cashiermollie.com/
MIT License
135 stars 44 forks source link

Pay method selection not appearing #260

Open EmmArro opened 1 month ago

EmmArro commented 1 month ago

Hi,

In both dev and live, when using one off charges, the payment method selection does not appear.

I have no needs for recurring payments in the first version of my app, so I don't know if the problem also occurs with recurring payments.

I have enabled bancontact and credit cards as payment methods, but the payment method selection is skipped and the credit card dialog is displayed.

The problem resembles this issue: 150

Should I also activate sepa to solve it? I don't really understand what sepa would have to do with it.

Thx in advance for any suggestions.

I executed following code in tinker to check if the payment methods are enabled:

use Mollie\Api\MollieApiClient; $mollie = new MollieApiClient $mollie->setApiKey(...); $mollie->methods->allActive();

The output is:

Mollie\Api\Resources\MethodCollection {#1742 +count: 2, +_links: {#1836 +"documentation": {#1832 +"href": "https://docs.mollie.com/reference/v2/methods-api/list-methods", +"type": "text/html", }, +"self": {#1840 +"href": "https://api.mollie.com/v2/methods", +"type": "application/hal+json", }, }, count: 2, _links: {#1836}, storage: [ Mollie\Api\Resources\Method {#1669 +resource: "method", +id: "creditcard", +description: "Card", +minimumAmount: {#1730 +"value": "0.01", +"currency": "EUR", }, +maximumAmount: {#1722 +"value": "10000.00", +"currency": "EUR", }, +image: {#1651 +"size1x": "https://www.mollie.com/external/icons/payment-methods/creditcard.png", +"size2x": "https://www.mollie.com/external/icons/payment-methods/creditcard%402x.png", +"svg": "https://www.mollie.com/external/icons/payment-methods/creditcard.svg", }, +issuers: null, +pricing: null, +status: "activated", +_links: {#1726 +"self": {#1644 +"href": "https://api.mollie.com/v2/methods/creditcard", +"type": "application/hal+json", }, }, }, Mollie\Api\Resources\Method {#1662 +resource: "method", +id: "bancontact", +description: "Bancontact", +minimumAmount: {#1718 +"value": "0.02", +"currency": "EUR", }, +maximumAmount: {#1807 +"value": "50000.00", +"currency": "EUR", }, +image: {#1811 +"size1x": "https://www.mollie.com/external/icons/payment-methods/bancontact.png", +"size2x": "https://www.mollie.com/external/icons/payment-methods/bancontact%402x.png", +"svg": "https://www.mollie.com/external/icons/payment-methods/bancontact.svg", }, +issuers: null, +pricing: null, +status: "activated", +_links: {#1820 +"self": {#1815 +"href": "https://api.mollie.com/v2/methods/bancontact", +"type": "application/hal+json", }, }, }, ], flag::STD_PROP_LIST: false, flag::ARRAY_AS_PROPS: false, iteratorClass: "ArrayIterator", }

sandervanhooft commented 1 month ago

Hi @EmmArro ,

Thanks for reaching out.

Can you try enabling the "banktransfer" payment method on your Mollie profile?

EmmArro commented 1 month ago

Hi,

Thanks for the reply. Unfortunately, still no luck after activiating the banktransfer method.

sandervanhooft commented 1 month ago

Hi @EmmArro ,

I am looking into this. Did you try this in testmode?

sandervanhooft commented 1 month ago

Ah wait, try "directdebit" instead of banktransfer

EmmArro commented 1 month ago

Hi,

Thanks for the follow-up. I tried in live mode. These are the only ones I have available:

image

EmmArro commented 1 month ago

Yesterday I have also made a support request to mollie directly, to rule out that there's nothing wrong with my account. I'll keep you posted on the result. Any other suggestions in the meantime are welcome.

EmmArro commented 1 month ago

Just got a reply from mollie. Apparently everything is ok in my account. Here's their respons, it's in dutch, but I guess that's no problem for you as your name is Sander ;-)

Bedankt voor je mail.

Ik zie dat je Credit Card, Bancontact en Bankoverschrijving aan hebt staan als online betaalmethodes in Mollie.

Heb je in dit geval in je back end ook al deze betaalmethodes geactiveerd? Zo ja, dan zouden deze eigenlijk allemaal in je check-out moeten komen te staan.

Mocht dat niet het geval zijn, dan ontvang ik graag de loggegevens en instellingen vanuit je back end en kan ik deze eens bekijken of aan onze technische dienst doorsturen.

Thanks for your further investigation of the problem.

sandervanhooft commented 1 month ago

Ah wait, try "directdebit" instead of banktransfer

Hi @EmmArro ,

Thanks for following up.

If you enable directdebit you should be good to go. On your screenshot it's called SEPA domiciliëring. (I think that's the Flemish equivalent of SEPA Incasso?)

Background: the first payment gets made with bancontact, which results in a directdebit Mollie mandate. This mandate you can use for the recurring payments.

EmmArro commented 1 month ago

Thanks for the clarification. I activated it, but it takes a few days to actually become active. I'll share the result here then.

EmmArro commented 4 weeks ago

Hey @sandervanhooft ,

Mollie has let me know that the request to activate Sepa has been denied because our site is not selling any products with recurring charges. This will be the case in the future however, and that's why we choose to use mollie/cashier with one off charges to start with.

Is it so that we won't be able to use mollie/cashier with bancontact if we do not use recurring charges and get Sepa activated?

Is the problem in our case that mollie/cashier always requires to create a mandate for payments?

What would be the most efficient solution in our case in your opinion?

Thanks for the info in advance.