method createPayment documentation in bbn\Api\Permissions\MollieManager

Once you have created a payment, you should redirect your customer to the URL in the $payment['_links']['checkout']['href']

https://docs.mollie.com/reference/v2/payments-api/create-payment

function(array $data, string $customer_id = NULL, string $mandate_id = NULL) { if ($customer_id) { $data = array_merge($data, ['customerId' => $customer_id]); } if ($mandate_id) { $data = array_merge($data, ['mandateId' => $mandate_id]); } $payment = $this->mollie->payments->create($data); return X::toArray($payment); }

Once you have created a payment, you should redirect your customer to the URL in the $payment['_links']['checkout']['href'] BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.