QR Ph

QR Ph execution

Executing a QR string pays it from the scanner's side: PayMongo transfers the amount from your account to the account the QR code names, whether PayMongo or another bank generated it. The response only acknowledges the request, and PayMongo sends no webhook for the outcome, so check it in the PayMongo dashboard. Because this moves money out of the Playground's account, only the Operator runs it, from the administration area.

Read the QR Ph docs

Every demonstration here makes a real PayMongo API call in test mode. Nothing is simulated, and no real money moves.

Execute QR string

Pay a QR code by its QR string. Copy the string from a dynamic QR code generated in the QR Ph scenario; the amount must match the one the code encodes.

PHP
use Luigel\Paymongo\Facades\Paymongo;

$qrph = Paymongo::qrph()->execute(
    attributes: [
        'qr_string' => '',
        'amount' => 10000,
    ],
);