2018-03-19 11:00:23 +01:00
|
|
|
<?php
|
|
|
|
//this file is an example for integration of banktransferdata into a ERP System or in invoice PDF or else
|
|
|
|
//include('bootstrap.php');
|
|
|
|
|
|
|
|
//load order
|
|
|
|
$order = oxNew(\OxidEsales\Eshop\Application\Model\Order::class);
|
|
|
|
$order->load('88e7da68e5a6bf8ac7d5299f317869ed');
|
|
|
|
|
|
|
|
$order->getHeidelpayBankTransferData();
|
2018-05-18 14:32:01 +02:00
|
|
|
/* returns false or :
|
2018-03-19 11:00:23 +01:00
|
|
|
stdClass::__set_state(array(
|
|
|
|
'Type' => 'd3_d3heidelpay_models_payment_invoice_unsecured',
|
|
|
|
'Currency' => 'EUR',
|
|
|
|
'Amount' => '33.80',
|
|
|
|
'ShortID' => '3457.1523.6672',
|
|
|
|
'UniqueID' => '31HA07BC81287D6A78968151B24C6A22',
|
|
|
|
'TransactionID' => '4387__@@2016-12-15 09:00:36',
|
|
|
|
'Bank' => '37040044',
|
|
|
|
'Number' => '5320130',
|
2018-05-18 14:32:01 +02:00
|
|
|
'Holder' => 'heidelpay GmbH',
|
2018-03-19 11:00:23 +01:00
|
|
|
'Iban' => 'DE89370400440532013000',
|
|
|
|
'Bic' => 'COBADEFFXXX',
|
|
|
|
'Country' => 'DE',
|
|
|
|
'Reference' => '3457.1523.6672',
|
|
|
|
))
|
|
|
|
*/
|