mage2pro / alphacommercehub Goto Github PK
View Code? Open in Web Editor NEWAlphaCommerceHub integration with Magento 2
Home Page: https://upwork.com/fl/mage2pro
License: MIT License
AlphaCommerceHub integration with Magento 2
Home Page: https://upwork.com/fl/mage2pro
License: MIT License
This isssue is related to the issue #8: (AlphaHPP without 3D Secure (3DSecureBypass
= Y
): «Provider unable to process request» / «"ProviderName": "westpac"»).
I have got an answer from the AlphaCommerceHub team for the issue #8:
The test merchant is going to Westpac test host which only supports
AUD
andNZD
.
USD
was submitted. Please change toAUD
and try again
So from now on, I use the Australian dollar (AUD
) for all my payment requests.
But it does not help me:
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
HTTP/1.1 200 OK
Date: Mon, 13 Nov 2017 15:40:34 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: 7174
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 1126
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
3DSecureBypass: Y
Amount: 160706
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: 1104L725
Method: CC
OrderDetails[0][ItemAmount]: 45554
OrderDetails[0][ItemName]: Alligator Briefcase
OrderDetails[0][ItemQuantity]: 2
OrderDetails[0][ItemTaxExempt]: TRUE
OrderDetails[1][ItemAmount]: 56943
OrderDetails[1][ItemName]: New Very Prive 41 Black
OrderDetails[1][ItemQuantity]: 1
OrderDetails[1][ItemTaxExempt]: TRUE
OrderDetails[2][ItemAmount]: 12654
OrderDetails[2][ItemName]: Shipping
OrderDetails[2][ItemQuantity]: 1
OrderDetails[2][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
https://hubuat.alphacommercehub.com.au/pp/auth
requestRequest 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
HTTP/1.1 200 OK
Date: Mon, 13 Nov 2017 15:41:00 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: 1504
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 3021
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: 1104L725
X-APC-PPSessionId: 7758890d-f71e-4383-ba25-2a96817198b2
X-Requested-With:XMLHttpRequest
cardHolder: DMITRY FEDYUK
cardNumber: 4557 0400 0000 0005
cardExpiryDate: 07 / 21
cardCVV: 123
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDcyNVwiLFwiQ3VycmVuY3lcIjpcIkFVRFwiLFwiQW1vdW50XCI6XCIxNjA3MDZcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiQ0NcIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOlwiQWxsaWdhdG9yIEJyaWVmY2FzZSAyIE5ldyBWZXJ5IFByaXZlXCIsXCJDYXB0dXJlXCI6XCJZXCIsXCJFbWFpbEFkZHJlc3NcIjpcImRmZWRpdWtAZ21haWwuY29tXCIsXCJJUEFkZHJlc3NcIjpcIjkyLjI0My4xNjYuOFwiLFwiVGVsTm9cIjpcIjYxMjgyNjg4ODg4XCIsXCJDdXN0b21lcklEXCI6XCJkZmVkaXVrQGdtYWlsLmNvbVwiLFwiU29jaWFsSURcIjpcIjc0MDQxODAzNjgzXCIsXCJTdHJlZXQxXCI6XCI3MiBMaXZlcnBvb2wgU3RcIixcIlN0cmVldDJcIjpudWxsLFwiQ2l0eVwiOlwiU3lkbmV5XCIsXCJaaXBcIjpcIjIwMDBcIixcIlN0YXRlXCI6XCJNYWdlMlBST1wiLFwiQ291bnRyeVwiOlwiQVVcIixcIk1lcmNoYW50RGVzY3JpcHRvclwiOl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3RvbTFcIjpudWxsLFwiUGF5V2l0aFBvaW50c1wiOm51bGwsXCJNZXJjaGFudERhdGFcIjpudWxsLFwiVGVybWluYWxcIjpudWxsLFwiUGF5bWVudFByb2Nlc3NvckFQSUlkXCI6bnVsbCxcIk9yZGVyRGV0YWlsc1wiOlt7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfV0sXCJDdXN0b21GaWVsZHNcIjpbXSxcIkFjY2VwdDNEU0F1dGhlbnRpY2F0aW9uVW5hdmFpbGFibGVcIjpmYWxzZSxcIkFjY2VwdDNEU0Vucm9sQnlwYXNzXCI6ZmFsc2UsXCJQUFNlc3Npb25JZFwiOlwiZDA3MTBiY2QtOTlmYy00NTliLWIwMzMtY2VmMDMzZWQ5ODZhXCJ9In0.6Kdcuk52OdTZefk1CLbMFU3GV_pyyn1750MEMfckTbQ
cardExpiryMonth: 7
cardExpiryYear: 2021
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "13112017154101",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L725",
"PaymentID": "107055879",
"Currency": "AUD",
"Amount": "160706",
"BillCurrency": null,
"BillAmount": null,
"CardHolder": "DMITRY FEDYUK",
"CardType": "VISA",
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"ProviderResps": [
{
"ProviderName": "westpac",
"ProviderOrder": "1",
"ProviderResponse": "71",
"ProviderReference": "7001755533",
"ResponseCode": "1076",
"ResponseTimestamp": "14112017024101"
}
],
"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": "VISA",
"PaymentBrandType": "CREDIT",
"PaymentBrandCategory": "BUSINESS",
"PaymentIssuer": null,
"PaymentIssuerCountry": "AU",
"BIN": "455704"
},
"FraudResult": {
"RiskCategory": null,
"Score": null,
"Status": null
},
"FraudChecks": [],
"GeoChecks": [],
"LoyaltyResult": null
}
{
"Result": {
"ResponseCode": "1047",
"ResponseMessage": "Missing required field : SecureTokenHolder SecureToken",
"ResponseTimestamp": "20112017074542",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1118L753",
"PaymentID": null,
"Currency": null,
"Amount": null,
"BillCurrency": null,
"BillAmount": null,
"CardHolder": null,
"CardType": null,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"ProviderResps": [
{
"ProviderName": "AlphaSecure",
"ProviderOrder": "1",
"ProviderResponse": null,
"ProviderReference": null,
"ResponseCode": "1047",
"ResponseTimestamp": null
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": null,
"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": null,
"PaymentBrandType": null,
"PaymentBrandCategory": null,
"PaymentIssuer": null,
"PaymentIssuerCountry": null,
"BIN": null
},
"FraudResult": {
"RiskCategory": null,
"Score": null,
"Status": null
},
"FraudChecks": [],
"GeoChecks": [],
"LoyaltyResult": null
}
I have used an official MasterCard test bank card for the 3D Secure verification scenario:
Enrolled Account Number - Valid SC (single CH) | 5453010000095323 | secone1 |
---|
But I have got the error:
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
HTTP/1.1 200 OK
Date: Tue, 14 Nov 2017 00:37:47 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: 7115
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 1109
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
Amount: 160706
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: 1104L728
Method: CC
OrderDetails[0][ItemAmount]: 45554
OrderDetails[0][ItemName]: Alligator Briefcase
OrderDetails[0][ItemQuantity]: 2
OrderDetails[0][ItemTaxExempt]: TRUE
OrderDetails[1][ItemAmount]: 56943
OrderDetails[1][ItemName]: New Very Prive 41 Black
OrderDetails[1][ItemQuantity]: 1
OrderDetails[1][ItemTaxExempt]: TRUE
OrderDetails[2][ItemAmount]: 12654
OrderDetails[2][ItemName]: Shipping
OrderDetails[2][ItemQuantity]: 1
OrderDetails[2][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
https://hubuat.alphacommercehub.com.au/pp/3dsecure
requestRequest URL: https://hubuat.alphacommercehub.com.au/pp/3dsecure
Request Method: POST
Status Code: 200 OK
Remote Address: 76.12.61.237:443
Referrer Policy: no-referrer-when-downgrade
HTTP/1.1 200 OK
Date: Tue, 14 Nov 2017 00:39:21 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: 1497
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 3020
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: 1104L728
X-APC-PPSessionId: de12d01a-1ed3-4090-99d0-6ceb834dcb50
X-Requested-With: XMLHttpRequest
cardHolder: DMITRY FEDYUK
cardNumber: 5453 0100 0009 5323
cardExpiryDate: 07 / 21
cardCVV: 222
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDcyOFwiLFwiQ3VycmVuY3lcIjpcIkFVRFwiLFwiQW1vdW50XCI6XCIxNjA3MDZcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiQ0NcIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOlwiQWxsaWdhdG9yIEJyaWVmY2FzZSAyIE5ldyBWZXJ5IFByaXZlXCIsXCJDYXB0dXJlXCI6XCJZXCIsXCJFbWFpbEFkZHJlc3NcIjpcImRmZWRpdWtAZ21haWwuY29tXCIsXCJJUEFkZHJl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Vzc2lvbklkXCI6XCI5ZDQ5ZmM4Zi03ZjczLTQ0YTktYTAyMy1jYWIyZWFkYTZiYjVcIn0ifQ.QG_pndysbTWJ2SHZBuO3BXo2VHCTmFgQ-M-Hu_zs5II
cardExpiryMonth: 7
cardExpiryYear: 2021
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
{
"Result": {
"ResponseCode": "1028",
"ResponseMessage": "Invalid merchant: null",
"ResponseTimestamp": "14112017003922",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L728",
"PaymentID": "Invalid merchant: null",
"Currency": "AUD",
"Amount": "160706",
"BillCurrency": "107056601",
"BillAmount": null,
"CardHolder": null,
"CardType": null,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"ProviderResps": [
{
"ProviderName": "ThreeDSecure",
"ProviderOrder": "1",
"ProviderResponse": null,
"ProviderReference": null,
"ResponseCode": "1028",
"ResponseTimestamp": "14112017003922"
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": null,
"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": "U",
"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": null,
"PaymentIssuer": null,
"PaymentIssuerCountry": "US",
"BIN": "545301"
},
"FraudResult": {
"RiskCategory": null,
"Score": null,
"Status": null
},
"FraudChecks": [],
"GeoChecks": [],
"LoyaltyResult": null
}
The current state is here: [AlphaCommerceHub] Extension settings
#17 (The last 3 digits of every payment amount should be «000» in the test mode for Westpac)
{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "05112017025301",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L706",
"PaymentID": "107037921",
"Currency": "USD",
"Amount": "127000",
"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": "QA",
"ProviderReference": null,
"ResponseCode": "1076",
"ResponseTimestamp": null
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": "3",
"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
}
{
"Result": {
"ResponseCode": null,
"ResponseMessage": "No Processor flow found for Transaction type: EnrolCheck",
"ResponseTimestamp": "04112017084828",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L702",
"PaymentID": null,
"Currency": "USD",
"Amount": "127000",
"BillCurrency": null,
"BillAmount": null,
"CardHolder": null,
"CardType": null,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"ProviderResps": [],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": null,
"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": null,
"PaymentBrandType": null,
"PaymentBrandCategory": null,
"PaymentIssuer": null,
"PaymentIssuerCountry": null,
"BIN": null
},
"FraudResult": {
"RiskCategory": null,
"Score": null,
"Status": null
},
"FraudChecks": [],
"GeoChecks": [],
"LoyaltyResult": null
}
Request URL: https://hubuat.alphacommercehub.com.au/pp/3dsecure
Request Method: POST
Status Code: 200 OK
Remote Address: 76.12.61.237:443
Referrer Policy: no-referrer-when-downgrade
HTTP/1.1 200 OK
Date: Sat, 04 Nov 2017 08:48:26 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: 1328
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8,ru;q=0.6
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 2976
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=55AACA4E5E96284CF1126EAC44D93FED6FC47A665B1320F31ECC49FBFE4C28480F64CDD5908A1808A050A2DA2D9974B0E592DE9DF15BFC19FAD5718DCE264C6AE024B7046B7C780DEE1A596F44FD0CB532C866AEF9ADF67A36C5D0D0F2191615D56D282022ECF263F33919ACDCE70BAA3D12056DF19B5A9F30D0FF8F25EFA76EFD8B08364FF7D795133DEE8C315CB5D12C46F856F7616398D7F9098800B71BC1B83BE665E163AA8C923B4904974DC457246D8683; 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/61.0.3163.100 Safari/537.36
X-APC-MerchantTxnID: 1104L702
X-APC-PPSessionId: 2b782cb0-a031-40f6-afb2-2104f1f0fb77
X-Requested-With: XMLHttpRequest
cardHolder: DMITRY FEDYUK
cardNumber: 5313 5700 0000 0011
cardExpiryDate: 07 / 2020
cardCVV: 123
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ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sLFwiSXRlbVF1YW50aXR5XCI6MCxcIkl0ZW1BbW91bnRcIjpudWxsLFwiSXRlbVByaWNlXCI6bnVsbCxcIkl0ZW1UYXhFeGVtcHRcIjpmYWxzZX0se1wiSXRlbU5hbWVcIjpudWxsLFwiSXRlbVF1YW50aXR5XCI6MCxcIkl0ZW1BbW91bnRcIjpudWxsLFwiSXRlbVByaWNlXCI6bnVsbCxcIkl0ZW1UYXhFeGVtcHRcIjpmYWxzZX1dLFwiQ3VzdG9tRmllbGRzXCI6W10sXCJBY2NlcHQzRFNBdXRoZW50aWNhdGlvblVuYXZhaWxhYmxlXCI6ZmFsc2UsXCJBY2NlcHQzRFNFbnJvbEJ5cGFzc1wiOmZhbHNlLFwiUFBTZXNzaW9uSWRcIjpcIjI2NjUyODIzLTFiZTEtNDhkNC05ZmIzLWFiNTQyNjE1YjNlMVwifSJ9.hx_aBEFUjTP0l42pzASJ3sFxOd9nhKKoDq1j6JRLbSY
cardExpiryMonth: 7
cardExpiryYear: 2020
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
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
Amount: 161000
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: 1104L743
Method: PP
OrderDetails[0][ItemAmount]: 46000
OrderDetails[0][ItemName]: Alligator Briefcase
OrderDetails[0][ItemQuantity]: 2
OrderDetails[0][ItemTaxExempt]: TRUE
OrderDetails[1][ItemAmount]: 57000
OrderDetails[1][ItemName]: New Very Prive 41 Black
OrderDetails[1][ItemQuantity]: 1
OrderDetails[1][ItemTaxExempt]: TRUE
OrderDetails[2][ItemAmount]: 13000
OrderDetails[2][ItemName]: Shipping
OrderDetails[2][ItemQuantity]: 1
OrderDetails[2][ItemTaxExempt]: TRUE
OrderDetails[3][ItemAmount]: -1000
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
HTTP/1.1 200 OK
Date: Wed, 15 Nov 2017 05:42:59 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: 7064
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 1280
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; email=seb%40anterior.com.au; .ASPXAUTH=E04E6D975771299F3233F33775FED12EF96290AA1962FF11454F0F70E5CCF660211EA103D71352D1319699078E3CAFC056CCDF1AA9DD2FAFDD3A9A0C2959416F85E2987CCB6D97CFA1EB09EE8DA4AC46D4D7FDD2040BFA0B26B4AA085AD9D7C4CF03661404BAA5DD114360D483DAF0667B27384E1EEC76C4787C00EB901A177C1A5DB1F8ECA046A6ABC42EFF20038FB2F1FEB310FE7E3B30166B4326658CA9D11064E766E24307D9F66D4350C0A79C05B8B482B0
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
The «Project Scope» document says:
Card Capture
- Token Storage Flag
- Pay with stored card: use stored card via API call for returning customers
I realised why non 3DS are not working. Westpac return a response code based on the minor unit of the amount.
If you ensure the minor amount is 00 then you should get a success based on a normal test card.
Please note the amount field is 14,3 to allow for some currencies like OMR that use 3 decimal places but for an amount in AUD etc there should be an extra zero at the end e.g. 10.99 would be sent at 10990. But to get a success in test system please use something like 10000. You sent 160706 so was considered as 160.70 or .71 and those in Westpac are error codes
In terms of alt payments again I was not aware of the scope. These configurations need to be added to the test account. I will request these
What is the exact list of currencies which require a zero at the end of amounts?
The documentation says nothing about it.
I don't know what documentation you received but it is called out in API Notes in AlphaHPP guide.
I don't know if the shopping cart has standards on currency exponents.
These are standard available in ISO currency tables.
I have seen this documentation section, but it mentions OMR
and JPY
only as examples.
Are OMR
and JPY
the only currencies which can have a non-zero last digit in the amounts, and all other currencies should have a zero at the end of amounts?
{
"Result": {
"ResponseCode": "1000",
"ResponseMessage": "Request successful",
"ResponseTimestamp": "15112017071554",
"MerchantTxnID": "1104L746",
"Currency": "AUD",
"Amount": "161000"
},
"ProviderResps": [
{
"ProviderName": "POLI",
"ProviderOrder": "1",
"ProviderReference": "996139556133",
"ResponseCode": "0"
}
],
"Country": {},
"MethodResult": {
"RedirectUrl": "https://txn.apac.paywithpoli.com/?Token=gk%2fj6hKdpwhAK5RZDDtrT%2bH5VQJLjlOy"
},
"ThreeDSecure": {},
"TokenResult": {},
"PaymentInfo": {},
"FraudResult": {},
"FraudChecks": [],
"GeoChecks": []
}
I need to implement it in the core:
mage2pro/core#44 (Provide a generic (reusable) way to a payment module to provide multiple top-level payment options like currently mage2pro/moip
does)
My initial question was: [AlphaCommerceHub] Are the address fields (Street1
, Street2
, City
, Zip
, State
) really alphanumeric?
I have got a response from Rónán Gallagher:
Street 1 and 2 also allow following characters
#,.-
as well as upper and lower case Latin chars and numbers.
So I need to allow the «#,.-
» characters for the Street1
and Street2
request fields.
SuccessURL
response to a bank card payment without a 3D Secure verificationSuccessURL
response to a bank card payment with a 3D Secure verificationSuccessURL
response to a bank card payment without a 3D Secure verification with the ACHSecure Tokenization service («Tokenization Option») enabled{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "05112017022420",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L704",
"PaymentID": "104504052",
"Currency": "USD",
"Amount": "127000",
"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": "QA",
"ProviderReference": null,
"ResponseCode": "1076",
"ResponseTimestamp": null
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": "3",
"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
}
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
HTTP/1.1 200 OK
Date: Sun, 05 Nov 2017 02:24:18 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: 1498
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8,ru;q=0.6
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 2978
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=55AACA4E5E96284CF1126EAC44D93FED6FC47A665B1320F31ECC49FBFE4C28480F64CDD5908A1808A050A2DA2D9974B0E592DE9DF15BFC19FAD5718DCE264C6AE024B7046B7C780DEE1A596F44FD0CB532C866AEF9ADF67A36C5D0D0F2191615D56D282022ECF263F33919ACDCE70BAA3D12056DF19B5A9F30D0FF8F25EFA76EFD8B08364FF7D795133DEE8C315CB5D12C46F856F7616398D7F9098800B71BC1B83BE665E163AA8C923B4904974DC457246D8683; 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/61.0.3163.100 Safari/537.36
X-APC-MerchantTxnID: 1104L704
X-APC-PPSessionId: 0f6080b2-0a6e-43a7-9dc9-dac2852ac377
X-Requested-With: XMLHttpRequest
cardHolder: DMITRY FEDYUK
cardNumber: 5313 5700 0000 0011
cardExpiryDate: 07 / 2020
cardCVV: 123
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDcwNFwiLFwiQ3VycmVuY3lcIjpcIlVTRFwiLFwiQW1vdW50XCI6XCIxMjcwMDBcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiUE9cIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOm51bGwsXCJDYXB0dXJlXCI6XCJZXCIsXCJFbWFpbEFkZHJlc3NcIjpcImRmZWRpdWtAZ21haWwuY29tXCIsXCJJUEFkZHJlc3NcIjpcIjkyLjI0My4xNjYuOFwiLFwiVGVsTm9cIjpcIjYxMjgyNjg4ODg4XCIsXCJDdXN0b21lcklEXCI6XCJkZmVkaXVrQGdtYWlsLmNvbVwiLFwiU29jaWFsSURcIjpcIjc0MDQxODAzNjgzXCIsXCJTdHJlZXQ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ID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "04112017091041",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L703",
"PaymentID": "107037767",
"Currency": "USD",
"Amount": "127000",
"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": "QA",
"ProviderReference": null,
"ResponseCode": "1076",
"ResponseTimestamp": null
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": "3",
"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
}
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
HTTP/1.1 200 OK
Date: Sat, 04 Nov 2017 09:10:39 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: 1498
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8,ru;q=0.6
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 2978
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=55AACA4E5E96284CF1126EAC44D93FED6FC47A665B1320F31ECC49FBFE4C28480F64CDD5908A1808A050A2DA2D9974B0E592DE9DF15BFC19FAD5718DCE264C6AE024B7046B7C780DEE1A596F44FD0CB532C866AEF9ADF67A36C5D0D0F2191615D56D282022ECF263F33919ACDCE70BAA3D12056DF19B5A9F30D0FF8F25EFA76EFD8B08364FF7D795133DEE8C315CB5D12C46F856F7616398D7F9098800B71BC1B83BE665E163AA8C923B4904974DC457246D8683; 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/61.0.3163.100 Safari/537.36
X-APC-MerchantTxnID: 1104L703
X-APC-PPSessionId: 358617d7-7b4f-4b48-bd87-3facae901db8
X-Requested-With: XMLHttpRequest
cardHolder: DMITRY FEDYUK
cardNumber: 5313 5700 0000 0011
cardExpiryDate: 07 / 2020
cardCVV: 123
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDcwM1wiLFwiQ3VycmVuY3lcIjpcIlVTRFwiLFwiQW1vdW50XCI6XCIxMjcwMDBcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiQ0NcIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOm51bGwsXCJDYXB0dXJlXCI6XCJZXCIsXCJFbWFpbEFkZHJlc3NcIjpcImRmZWRpdWtAZ21haWwuY29tXCIsXCJJUEFkZHJlc3NcIjpcIjkyLjI0My4xNjYuOFwiLFwiVGVsTm9cIjpcIjYxMjgyNjg4ODg4XCIsXCJDdXN0b21lcklEXCI6XCJkZmVkaXVrQGdtYWlsLmNvbVwiLFwiU29jaWFsSURcIjpcIjc0MDQxODAzNjgzXCIsXCJTdHJlZXQxXCI6XCI3MiBMaXZlcnBvb2wgU3RcIixcIlN0cmVldDJcIjpudWxsLFwiQ2l0eVwiOlwiU3lkbmV5XCIsXCJaaXBcIjpcIjIwMDBcIixcIlN0YXRlXCI6XCJNYWdlMi5QUk9cIixcIkNvdW50cnlcIjpcIkFVXCIsXCJNZXJjaGFudERlc2NyaXB0b3JcIjpcIk1hZ2UyLlBST1wiLFwiU3VjY2Vzc1VSTFwiOlwiaHR0cHM6Ly9tYWdlMi5wcm8vc2FuZGJveC9kZmUtYWxwaGFjb21tZXJjZWh1Yi9jdXN0b21lclJldHVyblwiLFwiVGhyZWVEU2VjdXJlQ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xzXCI6W3tcIkl0ZW1OYW1lXCI6bnVsbCxcIkl0ZW1RdWFudGl0eVwiOjAsXCJJdGVtQW1vdW50XCI6bnVsbCxcIkl0ZW1QcmljZVwiOm51bGwsXCJJdGVtVGF4RXhlbXB0XCI6ZmFsc2V9LHtcIkl0ZW1OYW1lXCI6bnVsbCxcIkl0ZW1RdWFudGl0eVwiOjAsXCJJdGVtQW1vdW50XCI6bnVsbCxcIkl0ZW1QcmljZVwiOm51bGwsXCJJdGVtVGF4RXhlbXB0XCI6ZmFsc2V9LHtcIkl0ZW1OYW1lXCI6bnVsbCxcIkl0ZW1RdWFudGl0eVwiOjAsXCJJdGVtQW1vdW50XCI6bnVsbCxcIkl0ZW1QcmljZVwiOm51bGwsXCJJdGVtVGF4RXhlbXB0XCI6ZmFsc2V9XSxcIkN1c3RvbUZpZWxkc1wiOltdLFwiQWNjZXB0M0RTQXV0aGVudGljYXRpb25VbmF2YWlsYWJsZVwiOmZhbHNlLFwiQWNjZXB0M0RTRW5yb2xCeXBhc3NcIjpmYWxzZSxcIlBQU2Vzc2lvbklkXCI6XCI3ZDQ4MGNlZi0zYjBmLTQ1YzktOTk1Yy1mMjZkNTI5YzVjNjVcIn0ifQ.PhfOLgnJMEXRXJR24y4dc4YnAQOSCjOTl9LyerMkm6M
cardExpiryMonth: 7
cardExpiryYear: 2020
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
PaymentStatus
– used to get Wallet ID to process CapturePayment
- The merchant can request status of the payment to the AlphaHub using Payment Status transaction (optional step).
- The AlphaHub requests details from PayPal by sending the token previously saved in APC database to identify the customer.
- PayPal returns details and the Payer ID associated to the previous transaction. The Payer ID (Unique PayPal buyer account identification number) will be used by the merchant to complete the payment.
POST PaymentStatus
{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "05112017024105",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L705",
"PaymentID": "107037919",
"Currency": "USD",
"Amount": "127000",
"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": "QA",
"ProviderReference": null,
"ResponseCode": "1076",
"ResponseTimestamp": null
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": "3",
"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
}
{
"Result": {
"ResponseCode": "1047",
"ResponseMessage": "Missing required field : SecureTokenHolder SecureToken",
"ResponseTimestamp": "20112017074043",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1118L752",
"PaymentID": null,
"Currency": null,
"Amount": null,
"BillCurrency": null,
"BillAmount": null,
"CardHolder": null,
"CardType": null,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null
},
"ProviderResps": [
{
"ProviderName": "AlphaSecure",
"ProviderOrder": "1",
"ProviderResponse": null,
"ProviderReference": null,
"ResponseCode": "1047",
"ResponseTimestamp": null
}
],
"Country": {
"CountryName": null,
"CountryCode": null
},
"MethodResult": {
"AuthCode": null,
"CVVResult": null,
"AVSStreetResult": null,
"AVSZipResult": null,
"SecureToken": null,
"Status": null,
"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": null,
"PaymentBrandType": null,
"PaymentBrandCategory": null,
"PaymentIssuer": null,
"PaymentIssuerCountry": null,
"BIN": null
},
"FraudResult": {
"RiskCategory": null,
"Score": null,
"Status": null
},
"FraudChecks": [],
"GeoChecks": [],
"LoyaltyResult": null
}
I have already implemented it in my Moip integration with Magento 2: mage2pro/moip#17 (Show the payment option frontend title (e.g. «Cartão de crédito» or «Boleto bancário») instead of «Moip» in the customer-targeted payment information blocks (in the customer account and in the order's transactional emails)):
https://github.com/mage2pro/moip/blob/1.2.4/Method.php#L68-L76
Make the payment options (bank card, PayPal, POLi Payments) top-level (in the same way as I have it implemented in my Moip module).
The previous (wrong) edition of this rule: #14 (The last amounts digit should be 0 for all currencies except JPY and OMR)
See also #43 (Why does Magento show «The order was placed using USD»?)
SuccessURL
response to a bank card payment always indicates the used payment currency:SuccessURL
response to a POLi Payments payment indicates the used payment currency tooSuccessURL
response to a PayPal payment does not indicate the used payment currencySimilar to my Stripe videos: https://github.com/mage2pro/stripe#demo-videos
We can have a mismatch between the Amount
value and the aggregated order items amounts because of the 2 reasons:
\Dfe\AlphaCommerceHub\Method::amountFormat()
use round()
https://github.com/mage2pro/alphacommercehub/blob/0.2.6/Method.php#L5-L21
"The last amounts digit should be 0 for all currencies except JPY and OMR":
#14
The Magento's base currency can be different from the current order's currency, and in this case we will have conversions and roundings.
An example of such mismatch: #15
`Amount`: 160710 -------- OrderDetails[0][ItemAmount]: 45550 OrderDetails[0][ItemQuantity]: 2 OrderDetails[1][ItemAmount]: 56940 OrderDetails[1][ItemQuantity]: 1 OrderDetails[2][ItemAmount]: 12650 OrderDetails[2][ItemName]: Shipping OrderDetails[2][ItemQuantity]: 1 -------- The calculated amount is 160690 != 160710
Because of this potential amounts mismatch, we make an adjustment.
It is similar to #19 (AlphaHPP wrongly shows a bank card payment form by default despite of the Method
= PP
request option).
[AlphaCommerceHub] Is the MerchantDescriptor
parameter really accepts up to 64 characters?
The value is truncated depending on the provider of the payment processing.
The Wikipedia article mainly focuses on card schemes, but as the platform supports many different payment methods worldwide this can be passed through to various providers where appropriate.
The 64 character limit is simply what the hub will accept, not what is sent through to the end provider.
Many payment providers have a restriction of 21-25 chars.
We do have a longer field to allow for some other alternative payment methods that allow longer descriptors.
Unfortunately, AlphaCommerceHub does not provide «instant payment notifications» / «webhooks» (or nobody tells me about it within he last 13 days).
So I need to Update the current order in Magento on a SuccessURL
/ CancelURL
customer return.
The payment transaction is marked as «Request successful»
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
HTTP/1.1 200 OK
Date: Wed, 15 Nov 2017 05:17:00 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: 7060
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 1280
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; email=seb%40anterior.com.au; .ASPXAUTH=E04E6D975771299F3233F33775FED12EF96290AA1962FF11454F0F70E5CCF660211EA103D71352D1319699078E3CAFC056CCDF1AA9DD2FAFDD3A9A0C2959416F85E2987CCB6D97CFA1EB09EE8DA4AC46D4D7FDD2040BFA0B26B4AA085AD9D7C4CF03661404BAA5DD114360D483DAF0667B27384E1EEC76C4787C00EB901A177C1A5DB1F8ECA046A6ABC42EFF20038FB2F1FEB310FE7E3B30166B4326658CA9D11064E766E24307D9F66D4350C0A79C05B8B482B0
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
Amount:161000
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: 1104L741
Method: CC
OrderDetails[0][ItemAmount]: 46000
OrderDetails[0][ItemName]: Alligator Briefcase
OrderDetails[0][ItemQuantity]: 2
OrderDetails[0][ItemTaxExempt]: TRUE
OrderDetails[1][ItemAmount]: 57000
OrderDetails[1][ItemName]: New Very Prive 41 Black
OrderDetails[1][ItemQuantity]: 1
OrderDetails[1][ItemTaxExempt]: TRUE
OrderDetails[2][ItemAmount]: 13000
OrderDetails[2][ItemName]: Shipping
OrderDetails[2][ItemQuantity]: 1
OrderDetails[2][ItemTaxExempt]: TRUE
OrderDetails[3][ItemAmount]: -1000
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
Request URL: https://hubuat.alphacommercehub.com.au/pp/3dsecure
Request Method: POST
Status Code: 200 OK
Remote Address: 76.12.61.237:443
Referrer Policy: no-referrer-when-downgrade
HTTP/1.1 200 OK
Date: Wed, 15 Nov 2017 05:17:53 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: 1914
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 3066
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; email=seb%40anterior.com.au; .ASPXAUTH=E04E6D975771299F3233F33775FED12EF96290AA1962FF11454F0F70E5CCF660211EA103D71352D1319699078E3CAFC056CCDF1AA9DD2FAFDD3A9A0C2959416F85E2987CCB6D97CFA1EB09EE8DA4AC46D4D7FDD2040BFA0B26B4AA085AD9D7C4CF03661404BAA5DD114360D483DAF0667B27384E1EEC76C4787C00EB901A177C1A5DB1F8ECA046A6ABC42EFF20038FB2F1FEB310FE7E3B30166B4326658CA9D11064E766E24307D9F66D4350C0A79C05B8B482B0
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: 1104L741
X-APC-PPSessionId: 93fe6a0e-0127-448e-9117-80a2f4467627
X-Requested-With:XMLHttpRequest
cardHolder: DMITRY FEDYUK
cardNumber: 5453 0100 0009 5323
cardExpiryDate: 07 / 21
cardCVV: 123
country: AU
street1: 72 Liverpool St
street2:
city: Sydney
zip: 2000
emailAddress:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDc0MVwiLFwiQ3VycmVuY3lcIjpcIkFVRFwiLFwiQW1vdW50XCI6XCIxNjEwMDBcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiQ0NcIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOlwiQWxsaWdhdG9yIEJyaWVmY2FzZSAyIE5ldyBWZXJ5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zZX1dLFwiQ3VzdG9tRmllbGRzXCI6W10sXCJBY2NlcHQzRFNBdXRoZW50aWNhdGlvblVuYXZhaWxhYmxlXCI6ZmFsc2UsXCJBY2NlcHQzRFNFbnJvbEJ5cGFzc1wiOmZhbHNlLFwiUFBTZXNzaW9uSWRcIjpcIjRmZWUzNTgyLWIwMDItNDkzYi1iMmE3LTc4OTNjODI1ZDA3MlwifSJ9.LXhXM-x-9MtybVscmocbj323zvWPVdIYwr9zUuX3i9E
cardExpiryMonth: 7
cardExpiryYear: 2021
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
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
HTTP/1.1 200 OK
Date: Tue, 14 Nov 2017 03:33:23 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: 7172
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
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: 1126
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
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: 1104L733
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
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
https://hubuat.alphacommercehub.com.au/pp/auth
requestRequest 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
HTTP/1.1 200 OK
Date: Tue, 14 Nov 2017 03:34:36 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
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: 3021
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: 1104L733
X-APC-PPSessionId: d2867dce-2089-4b7a-bcaf-5dc0ce747bd3
X-Requested-With: XMLHttpRequest
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.eyJwYXlsb2FkIjoie1wiVXNlcklkXCI6XCIxMjNcIixcIk1lcmNoYW50SURcIjpcIkFOVEVSSU9SMDAxXCIsXCJNZXJjaGFudFR4bklEXCI6XCIxMTA0TDczM1wiLFwiQ3VycmVuY3lcIjpcIkFVRFwiLFwiQW1vdW50XCI6XCIxNjA3MTBcIixcIlRyYW5zYWN0aW9uVGltZXN0YW1wXCI6bnVsbCxcIk1ldGhvZFwiOlwiQ0NcIixcIkxhbmd1YWdlXCI6XCJlblwiLFwiVHhuRGV0YWlsc1wiOlwiQWxsaWdhdG9yIEJyaWVmY2FzZSAyIE5ldyBWZXJ5IFByaXZlXCIsXCJDYXB0dXJlXCI6XCJZXCIsXCJFbWFpbEFkZHJlc3NcIjpcImRmZWRpdWtAZ21haWwuY29tXCIsXCJJUEFkZHJlc3NcIjpcIjkyLjI0My4xNjYuOFwiLFwiVGVsTm9cIjpcIjYxMjgyNjg4ODg4XCIsXCJDdXN0b21lcklEXCI6XCJkZmVkaXVrQGdtYWlsLmNvbVwiLFwiU29jaWFsSURcIjpcIjc0MDQxODAzNjgzXCIsXCJTdHJlZXQxXCI6XCI3MiBMaXZlcnBvb2wgU3RcIixcIlN0cmVldDJcIjpudWxsLFwiQ2l0eVwiOlwiU3lkbmV5XCIsXCJaaXBcIjpcIjIwMDBcIixcIlN0YXRlXCI6XCJNYWdlMlBST1wiLFwiQ291bnRyeVwiOlwiQVVcIixcIk1lcm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UeXBlXCI6bnVsbCxcIkN1c3RvbTFcIjpudWxsLFwiUGF5V2l0aFBvaW50c1wiOm51bGwsXCJNZXJjaGFudERhdGFcIjpudWxsLFwiVGVybWluYWxcIjpudWxsLFwiUGF5bWVudFByb2Nlc3NvckFQSUlkXCI6bnVsbCxcIk9yZGVyRGV0YWlsc1wiOlt7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfSx7XCJJdGVtTmFtZVwiOm51bGwsXCJJdGVtUXVhbnRpdHlcIjowLFwiSXRlbUFtb3VudFwiOm51bGwsXCJJdGVtUHJpY2VcIjpudWxsLFwiSXRlbVRheEV4ZW1wdFwiOmZhbHNlfV0sXCJDdXN0b21GaWVsZHNcIjpbXSxcIkFjY2VwdDNEU0F1dGhlbnRpY2F0aW9uVW5hdmFpbGFibGVcIjpmYWxzZSxcIkFjY2VwdDNEU0Vucm9sQnlwYXNzXCI6ZmFsc2UsXCJQUFNlc3Npb25JZFwiOlwiZWE2YjRmNjItMDY4Yy00YzU2LWIyMDYtMWMwZjRjY2YwMWFlXCJ9In0.WfIyXtEk1f0Fnc9vCUZnkZPZeS8y9USTpPi9gzG92gk
cardExpiryMonth: 7
cardExpiryYear: 2021
payPageID: ac580978-81f0-4716-bfc3-3bc46eab8603
merchantSequenceNumber:
clientIP: 92.243.166.8
{
"Result": {
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "14112017033437",
"MerchantID": "ANTERIOR001",
"MerchantTxnID": "1104L733",
"PaymentID": "107063741",
"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": "7001757683",
"ResponseCode": "1076",
"ResponseTimestamp": "14112017143437"
}
],
"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
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.