laravel-cashier-mollie icon indicating copy to clipboard operation
laravel-cashier-mollie copied to clipboard

Pay method selection not appearing

Open EmmArro opened this issue 6 months ago • 10 comments

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", }

EmmArro avatar Aug 04 '24 16:08 EmmArro