Closed tangoslee closed 5 years ago
Hello, When I check out to pay with Tendopay, I meet an authorization error. Please check this when you're available. Details are below;
TestShop:
https://magento1.tendopay.ph
Test Server:
https://sandbox.tendopay.ph
Error Message:
The tendopay authorisation token field is required.
Request Log
162.158.79.224 - - [09/Jan/2019:20:29:46 +0000] "POST /oauth/token HTTP/1.1" 200 1307 "-" "GuzzleHttp/6.3.3 curl/7.58.0 PHP/7.2.12-1+ubuntu18.04.1+deb.sury.org+1" sandbox.tendopay.ph "{\x22grant_type\x22:\x22client_credentials\x22,\x22client_id\x22:\x2216\x22,\x22client_secret\x22:\x22hJLDo1NyHEp85ZRXGJdBusNMepeDBe2MZwySRBjK\x22}"
173.245.54.34 - - [09/Jan/2019:20:29:46 +0000] "POST /payments/api/v1/authTokenRequest HTTP/1.1" 422 439 "-" "GuzzleHttp/6.3.3 curl/7.58.0 PHP/7.2.12-1+ubuntu18.04.1+deb.sury.org+1" sandbox.tendopay.ph "{\x22tendopay_amount\x22:1010,\x22tendopay_customer_reference_1\x22:\x22145000396\x22,\x22tendopay_customer_reference_2\x22:\x22magento1_order_145000396\x22,\x22tendopay_tendo_pay_vendor_id\x22:\x222\x22,\x22tendopay_hash\x22:\x228f125f7ed49392bac4592d67d7710207ce6d0ff4a89b0b75f1ee9c9468a3027f\x22}"
108.162.241.211 - - [09/Jan/2019:20:29:47 +0000] "GET /payments/authorise?tendopay_amount=1010&tendopay_authorisation_token=&tendopay_customer_reference_1=145000396&tendopay_customer_reference_2=magento1_order_145000396&tendopay_redirect_url=http%3A%2F%2Fmagento1.tendopay.ph%2Ftendopay%2Fstandard%2Fsuccess%2F&tendopay_tendo_pay_vendor_id=2&tendopay_vendor=English&tendopay_hash=fac4d2e6693cf9ed5bd7cc610ade56b1b6865c3ade311d11aee285dbfbce96cd&er=http%3A%2F%2Fmagento1.tendopay.ph%2Fcheckout%2Fcart%2Findex%2F HTTP/1.1" 200 16502 "http://magento1.tendopay.ph/tendopay/standard/redirect/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" sandbox.tendopay.ph "-"
- Laravel Log ```text 2019-01-10 04:29:47] local.DEBUG: Request failed: {"tendopay_amount":"1010","tendopay_authorisation_token":null,"tendopay_customer_reference_1":"145000396","tendopay_customer_reference_2":"magento1_order_145000396","tendopay_redirect_url":"http:\/\/magento1.tendopay.ph\/tendopay\/standard\/success\/","tendopay_tendo_pay_vendor_id":"2","tendopay_vendor":"English","tendopay_hash":"fac4d2e6693cf9ed5bd7cc610ade56b1b6865c3ade311d11aee285dbfbce96cd","er":"http:\/\/magento1.tendopay.ph\/checkout\/cart\/index\/"}
Close the issue. it might be a test environment's setting problems.
Hello, When I check out to pay with Tendopay, I meet an authorization error. Please check this when you're available. Details are below;
Screenshot
Test Environments
TestShop:
Test Server:
Error Message:
Request Log
173.245.54.34 - - [09/Jan/2019:20:29:46 +0000] "POST /payments/api/v1/authTokenRequest HTTP/1.1" 422 439 "-" "GuzzleHttp/6.3.3 curl/7.58.0 PHP/7.2.12-1+ubuntu18.04.1+deb.sury.org+1" sandbox.tendopay.ph "{\x22tendopay_amount\x22:1010,\x22tendopay_customer_reference_1\x22:\x22145000396\x22,\x22tendopay_customer_reference_2\x22:\x22magento1_order_145000396\x22,\x22tendopay_tendo_pay_vendor_id\x22:\x222\x22,\x22tendopay_hash\x22:\x228f125f7ed49392bac4592d67d7710207ce6d0ff4a89b0b75f1ee9c9468a3027f\x22}"
108.162.241.211 - - [09/Jan/2019:20:29:47 +0000] "GET /payments/authorise?tendopay_amount=1010&tendopay_authorisation_token=&tendopay_customer_reference_1=145000396&tendopay_customer_reference_2=magento1_order_145000396&tendopay_redirect_url=http%3A%2F%2Fmagento1.tendopay.ph%2Ftendopay%2Fstandard%2Fsuccess%2F&tendopay_tendo_pay_vendor_id=2&tendopay_vendor=English&tendopay_hash=fac4d2e6693cf9ed5bd7cc610ade56b1b6865c3ade311d11aee285dbfbce96cd&er=http%3A%2F%2Fmagento1.tendopay.ph%2Fcheckout%2Fcart%2Findex%2F HTTP/1.1" 200 16502 "http://magento1.tendopay.ph/tendopay/standard/redirect/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" sandbox.tendopay.ph "-"