-
-
Notifications
You must be signed in to change notification settings - Fork 91
Tokenized Payment
Shipu Ahamed edited this page Sep 29, 2019
·
6 revisions
$tokenized initialization here.
In laravel use Shipu\Bkash\Facades\Tokenized instead of $tokenized if you want.
$tokenized->payment()->create( $agreementId, $amount, $merchantInvoiceNumber, $callbackUrl, $intent, $currency);
or
$tokenized->createPayment($agreementId, $amount, $merchantInvoiceNumber, $callbackUrl, $intent, $currency);you can get $agreementId after execute agreement api call. $callbackUrl, $intent and $currency optional.
$tokenized->payment()->execute($paymentId);
or
$tokenized->executePayment($paymentId);you can get $paymentId after create payment api call
$tokenized->payment()->status($paymentId);
or
$tokenized->statusPayment($paymentId);you can get $paymentId after execute payment api call