Skip to content

Commit

Permalink
Updates for v3
Browse files Browse the repository at this point in the history
  • Loading branch information
woutse committed Nov 10, 2024
1 parent 78b5d0c commit 943f2dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions samples/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
$exchange = new Exchange();


try {
try {

# Process the exchange request
$payOrder = $exchange->process();
$payOrder = $exchange->process();

switch ($payOrder->getStateId()) {
switch ($payOrder->getStateId())
{
case PayStatus::PENDING :
$responseResult = yourCodeToProcessPendingOrder($payOrder->getReference());
$responseMessage = 'Processed pending';
Expand Down
1 change: 1 addition & 0 deletions src/Model/CheckoutOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PayNL\Sdk\Common\AbstractTotalCollection;


/**
* Class CheckoutOptions
*
Expand Down

0 comments on commit 943f2dd

Please sign in to comment.