Closed fvanhove closed 4 years ago
Hi @fvanhove,
About Laravel-mollie
vs mollie-api-php
This Laravel package builds upon the mollie-api-php
client. The primary benefit of the Laravel package is that it preconfigures the php client using Laravel best practices.
The laravel-mollie
endpoint methods are therefore similar to the mollie-api-php
endpoint methods.
So if in the mollie docs you see an example like this:
$mollie->payments->get($id);
that would be this in the laravel-mollie
client:
mollie()->payments()->get($id);
How to integrate Apple Pay Best to use these docs:
➡️ I'm checking your specific question about the method endpoint with Mollie.
Hi @fvanhove ,
Can you try the following?
mollie()->methods()->all(["includeWallets=applepay"]);
Hey, @sandervanhooft.
I think you meant:
mollie()->methods()->all(["includeWallets" => "applepay"]);
That indeed adds the apple pay method to the list, thanks for the info.
You're right! Glad it helped.
How is the Apple pay integration intended to be used? It seems after enabling this in the Mollie payment methods it is still not provided in the response of
mollie()->methods()->all()
Does this only work for the Mollie checkout flow or can the Apple pay direct integration be used? if so, how would this be used together with the laravel-mollie package?
Kind regrads