TendoPayPlugins / tendopay-magento-1

Official TendoPay Extension for Magento 1
0 stars 1 forks source link

[bug] authorization error during checkout #1

Closed tangoslee closed 5 years ago

tangoslee commented 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;

Screenshot

screen shot 2019-01-09 at 3 17 02 pm

Test Environments

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\/"}

 

tangoslee commented 5 years ago

Close the issue. it might be a test environment's setting problems.