forked from bureaupartners/SEPA-Incasso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.php
20 lines (16 loc) · 818 Bytes
/
example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/****
* @name SEPA Incasso voorbeeld
* @version 1.1 (06-08-2013)
* @author Mark Hameetman <[email protected]> / Rein Schaap <[email protected]>
* @copyright 2013 BureauPartners B.V.
* @link https://www.bureaupartners.nl/2013/07/sepa-incasso-open-source-php-class/
*/
header("Content-type: text/xml");
include_once('sepa.class.php');
$oSEPA = new SEPA;
$oSEPA->setCollectionDestination('BureauPartners B.V.', 'NL00RABO0123456789', 'RABONL2U', 'NL87ZZZ573174610000');
$oSEPA->addCollection('M. Hameetman', 'NL00RABO0123456789', 'RABONL2U', 99.50, 'Abonnement Juni 2013 (Factuur 2013-0001)', date('Y-m-d'), '0000001' );
$oSEPA->addCollection('M. Hameetman', 'NL00RABO0123456789', 'RABONL2U', 99.50, 'Abonnement Juli 2013 (Factuur 2013-0002)', date('Y-m-d'), '0000002' );
echo $oSEPA->getXML();
?>