Skip to content

Commit 82aa7c7

Browse files
authoredJan 18, 2018
Merge pull request thephpleague#173 from asmecher/master
thephpleague#172 Correct variable names in sample code
2 parents 9e44c31 + c48fa0a commit 82aa7c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/Message/RestCompletePurchaseRequest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
*
3030
* // Once the transaction has been approved, we need to complete it.
3131
* $transaction = $gateway->completePurchase(array(
32-
* 'payer_id' => $payer_id,
33-
* 'transactionReference' => $sale_id,
32+
* 'payer_id' => $payerId,
33+
* 'transactionReference' => $paymentId,
3434
* ));
3535
* $response = $transaction->send();
3636
* if ($response->isSuccessful()) {

0 commit comments

Comments
 (0)
Please sign in to comment.