Comments (2)
I suspected that the failure is caused by a mismatch between the Amount
value and the aggregated order items amounts, but making the amounts the same does not help:
1. The initial redirection to AlphaHPP
General
Request URL: https://hubuat.alphacommercehub.com.au/pp/ac580978-81f0-4716-bfc3-3bc46eab8603
Request Method: POST
Status Code: 200 OK
Remote Address: 76.12.61.237:443
Referrer Policy: no-referrer-when-downgrade
Response headers
HTTP/1.1 200 OK
Date: Tue, 14 Nov 2017 04:24:14 GMT
Server: Microsoft-IIS/8.5
Cache-Control: private
Content-Type: text/html; charset=utf-8
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 7177
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Request headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,ru;q=0.8
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 1294
Content-Type: application/x-www-form-urlencoded
Cookie: __RequestVerificationToken=n-B5epNpZExPBpdLRWY_IOg_zxlnxkKjL1utioq1JrxE6rgCQN9BJ480lFpp8mWnGdzLeRMhjjnUk-PHF_BJBywBGWw7qNJYr6zSdMzZPcjvYobCiCRY5Eyc2vjI9cd0Pdv0_Q2; _timeZoneOffset=180; _ga=GA1.3.685466192.1508711293; ASP.NET_SessionId=gam2fam11wnk5cryudsqbxps; .ASPXAUTH=3ED353E66D8A6BF8D78C2CC3EE304A9AC0F02B9391057D31ACE1A74CE33F5D7FC2872FF60000802C6BF713AEC8EC7835F816BA5120B2A0521E45C5521D28A5AF78B5C838794351B5DE91E4A8E64BE8344535C633642DA75A90724ED9283621CAA46327BA202B1FB169ED905B653E1DF5F7B9A49DFEA2D150D65D6A87EE13DE1CF0BDF18F77232DF9ADFC3B77652260AD5F77B8A87DF3EC066A0A6A84A96CBDCC7CAB81C410D5E683EA06EEBE0B462A5C8D93DFD0; email=seb%40anterior.com.au
Host: hubuat.alphacommercehub.com.au
Origin: https://localhost.com:900
Pragma: no-cache
Referer: https://localhost.com:900/store/checkout/
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
Form data
3DSecureBypass: Y
Amount: 160710
CancelURL: https://mage2.pro/sandbox/dfe-alphacommercehub/customerReturn
Capture: Y
City: Sydney
Country: AU
Currency: AUD
CustomerID: [email protected]
EmailAddress: [email protected]
FraudCheckBypass: N
IPAddress: 92.243.166.8
Language: en
MerchantDescriptor: Mage2PRO
MerchantID: ANTERIOR001
MerchantTxnID: 1104L735
Method: CC
OrderDetails[0][ItemAmount]: 45550
OrderDetails[0][ItemName]: Alligator Briefcase
OrderDetails[0][ItemQuantity]: 2
OrderDetails[0][ItemTaxExempt]: TRUE
OrderDetails[1][ItemAmount]: 56940
OrderDetails[1][ItemName]: New Very Prive 41 Black
OrderDetails[1][ItemQuantity]: 1
OrderDetails[1][ItemTaxExempt]: TRUE
OrderDetails[2][ItemAmount]: 12650
OrderDetails[2][ItemName]: Shipping
OrderDetails[2][ItemQuantity]: 1
OrderDetails[2][ItemTaxExempt]: TRUE
OrderDetails[3][ItemAmount]: 20
OrderDetails[3][ItemName]: Adjustment
OrderDetails[3][ItemQuantity]: 1
OrderDetails[3][ItemTaxExempt]: TRUE
SocialID: 74041803683
State: Mage2PRO
Street1: 72 Liverpool St
SuccessURL: https://mage2.pro/sandbox/dfe-alphacommercehub/customerReturn
TelNo: 61282688888
TxnDetails: Alligator Briefcase 2 New Very Prive
UserId: 123
Zip: 2000
2. The https://hubuat.alphacommercehub.com.au/pp/auth
request
General
Request URL: https://hubuat.alphacommercehub.com.au/pp/auth
Request Method: POST
Status Code: 200 OK
Remote Address: 76.12.61.237:443
Referrer Policy: no-referrer-when-downgrade
Response headers
HTTP/1.1 200 OK
Date: Tue, 14 Nov 2017 04:24:54 GMT
Server: Microsoft-IIS/8.5
Cache-Control: private
Content-Type: application/json; charset=utf-8
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 1517
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Request headers
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,ru;q=0.8
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 3157
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie: __RequestVerificationToken=n-B5epNpZExPBpdLRWY_IOg_zxlnxkKjL1utioq1JrxE6rgCQN9BJ480lFpp8mWnGdzLeRMhjjnUk-PHF_BJBywBGWw7qNJYr6zSdMzZPcjvYobCiCRY5Eyc2vjI9cd0Pdv0_Q2; _timeZoneOffset=180; _ga=GA1.3.685466192.1508711293; ASP.NET_SessionId=gam2fam11wnk5cryudsqbxps; .ASPXAUTH=3ED353E66D8A6BF8D78C2CC3EE304A9AC0F02B9391057D31ACE1A74CE33F5D7FC2872FF60000802C6BF713AEC8EC7835F816BA5120B2A0521E45C5521D28A5AF78B5C838794351B5DE91E4A8E64BE8344535C633642DA75A90724ED9283621CAA46327BA202B1FB169ED905B653E1DF5F7B9A49DFEA2D150D65D6A87EE13DE1CF0BDF18F77232DF9ADFC3B77652260AD5F77B8A87DF3EC066A0A6A84A96CBDCC7CAB81C410D5E683EA06EEBE0B462A5C8D93DFD0; email=seb%40anterior.com.au
Host: hubuat.alphacommercehub.com.au
Origin: https://hubuat.alphacommercehub.com.au
Pragma: no-cache
Referer: https://hubuat.alphacommercehub.com.au/pp/ac580978-81f0-4716-bfc3-3bc46eab8603
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
X-APC-MerchantTxnID: 1104L735
X-APC-PPSessionId: 94411908-0341-4bb8-a3f1-d6b1ea5bbb10
X-Requested-With: XMLHttpRequest
Form data
cardHolder: DMITRY FEDYUK
cardNumber: 5313 5700 0000 0011
cardExpiryDate: 07 / 21
cardCVV: 222
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDczNVwiLFwiQ3VycmVuY3lcIjpcIkFVRFwiLFwiQW1vdW50XCI6XCIxNjA3MTBcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiQ0NcIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOlwiQWxsaWdhdG9yIEJyaWVmY2FzZSAyIE5ldyBWZXJ5IFByaXZlXCIsXCJDYXB0dXJlXCI6XCJZXCIsXCJFbWFpbEFkZHJlc3NcIjpcImRmZWRpdWtAZ21haWwuY29tXCIsXCJJUEFkZHJlc3NcIjpcIjkyLjI0My4xNjYuOFwiLFwiVGVsTm9cIjpcIjYxMjgyNjg4ODg4XCIsXCJDdXN0b21lcklEXCI6XCJkZmVkaXVrQGdtYWlsLmNvbVwiLFwiU29jaWFsSURcIjpcIjc0MDQxODAzNjgzXCIsXCJTdHJlZXQxXCI6XCI3MiBMaXZlcnBvb2wgU3RcIixcIlN0cmVldDJcIjpudWxsLFwiQ2l0eVwiOlwiU3lkbmV5XCIsXCJaaXBcIjpcIjIwMDBcIixcIlN0YXRlXCI6XCJNYWdlMlBST1wiLFwiQ291bnRyeVwiOlwiQVVcIixcIk1lcmNoYW50RGVzY3JpcHRvclwiOlwiTWFnZTJQUk9cIixcIlN1Y2Nlc3NVUkxcIjpcImh0dHBzOi8vbWFnZTIucHJvL3NhbmRib3gvZGZlLWFscGhhY29tbWVyY2VodWIvY3VzdG9tZXJSZXR1cm5cIix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kXCI6bnVsbCxcIk9yZGVyRGV0YWlsc1wiOlt7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfV0sXCJDdXN0b21GaWVsZHNcIjpbXSxcIkFjY2VwdDNEU0F1dGhlbnRpY2F0aW9uVW5hdmFpbGFibGVcIjpmYWxzZSxcIkFjY2VwdDNEU0Vucm9sQnlwYXNzXCI6ZmFsc2UsXCJQUFNlc3Npb25JZFwiOlwiMTFmYzgyNWQtNjRmOC00ZmQzLWFiMjEtNjNhMDQ2OTM3MDk0XCJ9In0.TdFosQOlSKZU__vl61z_fPDuhxzNe0OXeH5bOLw-Lh4
cardExpiryMonth: 7
cardExpiryYear: 2021
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
Response
{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "14112017042455",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L735",
"PaymentID": "107065879",
"Currency": "AUD",
"Amount": "160710",
"BillCurrency": null,
"BillAmount": null,
"CardHolder": "DMITRY FEDYUK",
"CardType": "MASTERCARD",
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"ProviderResps": [
{
"ProviderName": "westpac",
"ProviderOrder": "1",
"ProviderResponse": "71",
"ProviderReference": "7001757915",
"ResponseCode": "1076",
"ResponseTimestamp": "14112017152455"
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": "M",
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": "1",
"AmountReceived": null,
"RedirectUrl": null,
"FeeAmount": null,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null,
"ACSUrl": null,
"PAReq": null
},
"ThreeDSecure": {
"AuthenticationValue": null,
"AuthenticationStatus": null,
"Enrolled": null,
"XID": null,
"ECI": null,
"PARes": null,
"CAVVAlgorithm": null,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"TokenResult": {
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"PaymentInfo": {
"PaymentBrand": "MASTERCARD",
"PaymentBrandType": "CREDIT",
"PaymentBrandCategory": "CORPORATE",
"PaymentIssuer": null,
"PaymentIssuerCountry": "AU",
"BIN": "531357"
},
"FraudResult": {
"RiskCategory": null,
"Score": null,
"Status": null
},
"FraudChecks": [],
"GeoChecks": [],
"LoyaltyResult": null
}
from alphacommercehub.
It is fixed by #17 (The last 3 digits of every payment amount should be «000» in the test mode for Westpac).
from alphacommercehub.
Related Issues (20)
- Show the PayPal's `PayerDetails`.`CustomerFirstName` (the payer's first name) in the Magento's backend «Payment Information» block HOT 1
- Show the PayPal's `PayerDetails`.`CustomerName` (the payer's last name) in the Magento's backend «Payment Information» block HOT 1
- Show the PayPal's `PayerDetails`.`State` (the payer's state/region) in the Magento's backend «Payment Information» block HOT 1
- Show the PayPal's `PayerDetails`.`Street1` (the payer's street address) in the Magento's backend «Payment Information» block HOT 1
- Show the PayPal's `PayerDetails`.`Zip` (the payer's postal code) in the Magento's backend «Payment Information» block HOT 1
- Provide an ability to a Magento backend user to choose a different AlphaHPP domain HOT 3
- From now on, if the `Amount` and `Currency` request parameters are not provided, then AlphaCommerceHub responds `1059` / «Internal Processing Error please resend the request» to a PayPal's PaymentStatus API request HOT 1
- The PayPal's `PaymentStatus` transaction returns wrong `Result.Amount` values (like «186240.00») since 2017-12-13
- It would be better to always pass `0` as the last digit of a payment because otherwise AlphaCommerceHub implicitly makes it `0` HOT 1
- Provide an ability to the Magento backend users (merchants) to set up the «Require the billing address?» option separately for each AlphaCommerceHub's payment option (bank cards, PayPal, POLi Payments, etc.) HOT 1
- Provide an ability to the Magento backend users (merchants) to set up country restrictions separately for each AlphaCommerceHub's payment option (bank cards, PayPal, POLi Payments, etc.) HOT 4
- The module should treat «168950.00» as the expected format for the `Result.Amount` field of the PayPal's `PaymentStatus` responses, because AlphaCommerceHub does not fix this bug during the last 29 hours HOT 1
- Add the «Disable the 3D Secure validation for all customers» backend option, because AlphaCommerceHub has broken the 3D Secure scenario again since 2017-12-14 HOT 1
- Add the «Validated with 3D-Secure» flag to the Magento's backend «Payment Information» block HOT 1
- The module should use the customer's billing address instead of the shipping address to fill the `Street1`, `Street2`, `City`, `Zip`, `Country` parameters for AlphaHPP HOT 1
- The module should allow the #.: {}\-/ special characters in a `MerchantTxnID` HOT 1
- PHP 7.2: «Warning: preg_match(): Compilation failed: missing terminating ] for character class at offset 25 in vendor/mage2pro/core/Payment/Source/Identification.php on line 66» HOT 2
- Packagist: «License "The MIT License (MIT)" is not a valid SPDX license identifier» HOT 2
- [Magento 2.0.17 / PHP 7.0.27] «Infinite loop after clicking on "Save config"» HOT 2
- The sensitive information should be dumped to `app/etc/env.php` instead of `app/etc/config.php` on `bin/magento app:config:dump` to better support the Magento 2.2 «Pipeline Deployment»
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alphacommercehub.