<?php

class Tokens
{
    public const TOKEN = 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.'.
                         'eyJzdWIiOiIxMjM0NTY3ODkwIiwiaWF0IjoxNjE1MjE2MTAyfQ.'.
                         'YiqQK7SZSJ7T-rFRRHniPt3Vtzy13dGpTnL4j2TsL5tVhpGTuRZJuPtUVVcEy-hbKgKIAkqNNnu3LyL4-llW-w';

    public const ENCODED_HEADER = 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9';

    public const ENCODED_PAYLOAD = 'eyJzdWIiOiIxMjM0NTY3ODkwIiwiaWF0IjoxNjE1MjE2MTAyfQ';

    public const SIGNATURE = 'YiqQK7SZSJ7T-rFRRHniPt3Vtzy13dGpTnL4j2TsL5tVhpGTuRZJuPtUVVcEy-hbKgKIAkqNNnu3LyL4-llW-w';

    public const SECRET = 'Nz#-Z*nb7U%qYJwc-tsb&f?JEyUP5';

    public const DECODED_HEADER = array("alg" => "HS512", "typ" => "JWT");

    public const DECODED_PAYLOAD = array(
        "sub" => "1234567890",
        "iat" => 1615216102,
    );

    public const IPN_CALLBACK_JSON = '{"GIFT_ORDER":"0","SALEDATE":"2021-03-15 15:37:24","PAYMENTDATE":"2021-03-15 15:37:28","REFNO":"146695836","REFNOEXT":"CustOrd100","SHOPPER_REFERENCE_NUMBER":"","ORDERNO":"7690","ORDERSTATUS":"COMPLETE","PAYMETHOD":"Visa\/MasterCard","PAYMETHOD_CODE":"CCVISAMC","FIRSTNAME":"Customer","LASTNAME":"2Checkout","COMPANY":"","REGISTRATIONNUMBER":"","FISCALCODE":"","TAX_OFFICE":"","CBANKNAME":"","CBANKACCOUNT":"","ADDRESS1":"Test Address","ADDRESS2":"","CITY":"LA","STATE":"California","ZIPCODE":"12345","COUNTRY":"United States of America","COUNTRY_CODE":"us","PHONE":"","FAX":"","CUSTOMEREMAIL":"testcustomer@2Checkout.com","FIRSTNAME_D":"Customer","LASTNAME_D":"2Checkout","COMPANY_D":"","ADDRESS1_D":"Test Address","ADDRESS2_D":"","CITY_D":"LA","STATE_D":"California","ZIPCODE_D":"12345","COUNTRY_D":"United States of America","COUNTRY_D_CODE":"us","PHONE_D":"","EMAIL_D":"testcustomer@2Checkout.com","IPADDRESS":"91.220.121.21","IPCOUNTRY":"Romania","COMPLETE_DATE":"2021-03-15 15:37:31","TIMEZONE_OFFSET":"GMT+02:00","CURRENCY":"USD","LANGUAGE":"en","ORDERFLOW":"REGULAR","IPN_PID":["34763929"],"IPN_PNAME":["Dynamic product"],"IPN_PCODE":[""],"IPN_EXTERNAL_REFERENCE":[""],"IPN_INFO":[""],"IPN_QTY":["1"],"IPN_PRICE":["1.00"],"IPN_VAT":["0.00"],"IPN_VAT_RATE":["0.00"],"IPN_VER":["1"],"IPN_DISCOUNT":["0.00"],"IPN_PROMOTION_CATEGORY":[""],"IPN_PROMONAME":[""],"IPN_PROMOCODE":[""],"IPN_ORDER_COSTS":["0"],"IPN_SKU":[""],"IPN_PARTNER_CODE":"","IPN_PGROUP":["0"],"IPN_PGROUP_NAME":[""],"MESSAGE_ID":"250791940109","MESSAGE_TYPE":"AUTH","IPN_LICENSE_PROD":["34763929"],"IPN_LICENSE_TYPE":["REGULAR"],"IPN_LICENSE_REF":["FWS5S56YJQ"],"IPN_LICENSE_EXP":["9999-12-31 23:59:59"],"IPN_LICENSE_START":["2021-03-15 15:37:28"],"IPN_LICENSE_LIFETIME":["YES"],"IPN_LICENSE_ADDITIONAL_INFO":[""],"IPN_DELIVEREDCODES":[""],"IPN_DOWNLOAD_LINK":"","IPN_TOTAL":["1.00"],"IPN_TOTALGENERAL":"1.00","IPN_SHIPPING":"0.00","IPN_SHIPPING_TAX":"0.00","AVANGATE_CUSTOMER_REFERENCE":"948711378","EXTERNAL_CUSTOMER_REFERENCE":"","IPN_PARTNER_MARGIN_PERCENT":"0.00","IPN_PARTNER_MARGIN":"0.00","IPN_EXTRA_MARGIN":"0.00","IPN_EXTRA_DISCOUNT":"0.00","IPN_COUPON_DISCOUNT":"0.00","IPN_LINK_SOURCE":"tcolib.local","IPN_COMMISSION":"0.5967","REFUND_TYPE":"","CHARGEBACK_RESOLUTION":"NONE","CHARGEBACK_REASON_CODE":"","TEST_ORDER":"1","IPN_ORDER_ORIGIN":"API","FRAUD_STATUS":"APPROVED","CARD_TYPE":"visa","CARD_LAST_DIGITS":"1111","CARD_EXPIRATION_DATE":"12\/23","GATEWAY_RESPONSE":"Approved","IPN_DATE":"20210315153733","FX_RATE":"1","FX_MARKUP":"0","PAYABLE_AMOUNT":"0.40","PAYOUT_CURRENCY":"USD","VENDOR_CODE":"250111206876","PROPOSAL_ID":"","HASH":"943e8642a79f9a8673e0b7b7882b9046"}';
}
