Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
    $merchantID = 'A2LOBB9EECK508';
3
    $accessKey = 'AKIAJEAHT4JRYGWR267A';
4
    $secretKey = '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';
5
    //For switching to Production use https://payments.amazon.de/cba/api/purchasecontract/
6
    if ( is_array( $GLOBALS["INI"] ) )
7
    {
8
        $ini = $GLOBALS["INI"];
9
    }
10
    else
11
    {
12
        $ini = $_SESSION["INI"];
13
    }
14
    if ( $ini["amazon"]["env"] == "sandbox" )
15
    {
16
        $cbaServiceURL =
17
            'https://payments-sandbox.amazon.de/cba/api/purchasecontract/';
18
    }
19
    else
20
    {
21
        $cbaServiceURL = 'https://payments.amazon.de/cba/api/purchasecontract/';
22
    }
23
    $currencyCode = 'EUR';
24
    $weightUnit = 'KG';
25
    $version = '2010-08-31';
26
?>