-
-
Notifications
You must be signed in to change notification settings - Fork 86
Payment Mandate
Shipu Ahamed edited this page Sep 29, 2019
·
2 revisions
$payment
initialization here.
In laravel use Shipu\Bkash\Facades\Payment
instead of $payment
if you want.
$payment->mandate()->create( $firstPaymentDate, $frequency, $payerReferenceNumber, $requestType, $startRangeOfDays, $endRangeOfDays, $expiryDate, $amount, $merchantInvoiceNumber, $intent, $currency );
or
$payment->createMandate( $firstPaymentDate, $frequency, $payerReferenceNumber, $requestType, $startRangeOfDays, $endRangeOfDays, $expiryDate, $amount, $merchantInvoiceNumber, $intent, $currency );
$firstPaymentDate
, $frequency
, $payerReferenceNumber
, $requestType
required.
$payment->mandate()->execute( $paymentId );
or
$payment->executeMandate( $paymentId );
you can get $paymentId
after create mandate call.
$payment->mandate()->query( $mandateId );
or
$payment->queryMandate( $mandateId );
you can get $mandateId
after execute mandate call.
$payment->mandate()->cancel( $mandateId );
or
$payment->cancelMandate( $mandateId );
you can get $mandateId
after execute mandate call.