method createOnDemandPayment documentation in bbn\Api\Permissions\MollieManager

Charging immediately on-demand.

function(array $payment_data, string $customer_id, string $mandate_id) { if (!$this->customerHasValidMandate( $customer_id, $mandate_id, array_key_exists('testmode', $payment_data) ? ['testmode' => $payment_data['testmode']] : []) ) { // If the mandate is not valid then creates a new one by having // The customer performs a first payment: createPaymentFirstTime() // Then update the new customer and mandate id in database. return null; } $payment_data = array_merge($payment_data, ['sequenceType' => 'recurring']); return $this->createPayment($payment_data, $customer_id, $mandate_id); }

Charging immediately on-demand. BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

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