Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
    $merchantID = 'A2LOBB9EECK508';
    $accessKey = 'AKIAJEAHT4JRYGWR267A';
    $secretKey = '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';
    //For switching to Production use https://payments.amazon.de/cba/api/purchasecontract/
    if ( is_array( $GLOBALS["INI"] ) )
    {
        $ini = $GLOBALS["INI"];
    }
    else
    {
        $ini = $_SESSION["INI"];
    }
    if ( $ini["amazon"]["env"] == "sandbox" )
    {
        $cbaServiceURL =
            'https://payments-sandbox.amazon.de/cba/api/purchasecontract/';
    }
    else
    {
        $cbaServiceURL = 'https://payments.amazon.de/cba/api/purchasecontract/';
    }
    $currencyCode = 'EUR';
    $weightUnit = 'KG';
    $version = '2010-08-31';
?>