[2021-07-17 04:41:16] [CyberSource\Authentication\Core\MerchantConfiguration] [INFO] authenticationType =>HTTP_SIGNATURE [DEBUG] HTTP Request body ~BEGIN~ {"clientReferenceInformation":{"code":"TC50171_3"},"processingInformation":{"capture":false},"paymentInformation":{"card":{"number":"4111111111111111","expirationMonth":"12","expirationYear":"2031"}},"orderInformation":{"amountDetails":{"totalAmount":"102.21","currency":"USD"},"billTo":{"firstName":"John","lastName":"Doe","address1":"1 Market St","locality":"san francisco","administrativeArea":"CA","postalCode":"94105","country":"US","email":"test@cybs.com","phoneNumber":"4158880000"}}} ~END~ * Trying 66.185.182.49:443... * Connected to apitest.cybersource.com (66.185.182.49) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: D:\csphp\cybersource-rest-samples-php-master\vendor\cybersource\rest-client-php\lib\ssl/cacert.pem CApath: none * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=US; ST=California; L=Foster City; jurisdictionC=US; jurisdictionST=Delaware; O=Cybersource Corporation; businessCategory=Private Organization; serialNumber=2838921; CN=apitest.cybersource.com * start date: Jan 29 16:53:57 2021 GMT * expire date: Feb 15 16:53:57 2022 GMT * subjectAltName: host "apitest.cybersource.com" matched cert's "apitest.cybersource.com" * issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2014 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1M * SSL certificate verify ok. > POST /pts/v2/payments HTTP/1.1 Host:apitest.cybersource.com User-Agent: Swagger-Codegen/1.0.0/php Accept: application/hal+json;charset=utf-8 Content-Type: application/json v-c-merchant-id:testrest Signature:keyid="08c94330-f618-42a3-b09d-e1e43be5efda", algorithm="HmacSHA256", headers="host date (request-target) digest v-c-merchant-id", signature="9Pkv7RgcLflxB07mIUZI7nCEvPUNr00ZAs0ov0VSwCc=" Date:Sat, 17 Jul 2021 4:41:16 GMT Digest: SHA-256=9MOuEFIMZlgaz5w+tX6jKQo2z6S2+qxq2LbkqrZ9f8s= Content-Length: 491 * upload completely sent off: 491 out of 491 bytes * Mark bundle as not supporting multiuse < HTTP/1.1 201 Created < Cache-Control: no-cache, no-store, must-revalidate < Pragma: no-cache < Expires: -1 < Strict-Transport-Security: max-age=31536000 < Content-Type: application/hal+json < Content-Length: 882 < x-response-time: 424ms < X-OPNET-Transaction-Trace: c416b5cb-56f3-4529-8425-f5f0abf8ff67 < Connection: keep-alive < v-c-correlation-id: 6f85d202-eda9-4b7d-8f7b-1afc041020a9 < * Connection #0 to host apitest.cybersource.com left intact [DEBUG] HTTP Response body ~BEGIN~ {"_links":{"authReversal":{"method":"POST","href":"/pts/v2/payments/6264897522786586203004/reversals"},"self":{"method":"GET","href":"/pts/v2/payments/6264897522786586203004"},"capture":{"method":"POST","href":"/pts/v2/payments/6264897522786586203004/captures"}},"clientReferenceInformation":{"code":"TC50171_3"},"id":"6264897522786586203004","orderInformation":{"amountDetails":{"authorizedAmount":"102.21","currency":"USD"}},"paymentAccountInformation":{"card":{"type":"001"}},"paymentInformation":{"tokenizedCard":{"type":"001"},"card":{"type":"001"}},"pointOfSaleInformation":{"terminalId":"111111"},"processorInformation":{"approvalCode":"888888","networkTransactionId":"123456789619999","transactionId":"123456789619999","responseCode":"100","avs":{"code":"X","codeRaw":"I1"}},"reconciliationId":"72654042PR25Q2E5","status":"AUTHORIZED","submitTimeUtc":"2021-07-17T02:42:32Z"} ~END~