From ebc3f46d9b4aec4efd9bef8bee4efa975f680ade Mon Sep 17 00:00:00 2001 From: Wouter Jonker Date: Wed, 26 May 2021 16:26:10 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 385e1db2..62da4e9d 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ require __DIR__ . '/vendor/autoload.php'; \Paynl\Config::setTokenCode('AT-####-####'); \Paynl\Config::setApiToken('****************************************'); -$transaction = \Paynl\Transaction::getForReturn(); +$transaction = \Paynl\Transaction::status($transactionId); # Manual transfer transactions are always pending when the user is returned if( $transaction->isPaid() || $transaction->isPending()) {