Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
[change] (PHPLIB-187) Fix examples: Fix ids due to api changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sixer1182 committed May 12, 2020
1 parent 3ab255a commit ac51d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Invoice/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function redirect($url, $merchantMessage = '', $clientMessage = '')
$invoice = $heidelpay->createPaymentType(new Invoice());

$customer = CustomerFactory::createCustomer('Max', 'Mustermann');
$orderId = 'c'. str_replace(['0.', ' '], '', microtime(false));
$orderId = 'o' . str_replace(['0.', ' '], '', microtime(false));

$transaction = $invoice->charge(12.99, 'EUR', CONTROLLER_URL, $customer, $orderId);

Expand Down

0 comments on commit ac51d19

Please sign in to comment.