Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need help with createAnAcceptPaymentTransaction api return error all time #154

Open
mysoc13 opened this issue Aug 22, 2019 · 1 comment
Open

Comments

@mysoc13
Copy link

mysoc13 commented Aug 22, 2019

i am passing this data tocreateAnAcceptPaymentTransaction api and get

{
"createTransactionRequest": {
"merchantAuthentication": {
"name": "xxxxxxx",
"transactionKey": "xxxxxxxxxx"
},
"refId": "ref1566457911",
"transactionRequest": {
"transactionType": "authCaptureTransaction",
"amount": "5",
"payment": {
"opaqueData": {
"dataDescriptor": "COMMON.ACCEPT.INAPP.PAYMENT",
"dataValue": "1234567890ABCDEF1111AAAA2222BBBB3333CCCC4444DDDD5555EEEE6666FFFF7777888899990000"
}
},
"lineItems": {
"lineItem": {
"itemId": "1",
"name": "vase",
"description": "Cannes logo",
"quantity": "18",
"unitPrice": "45.00"
}
},
"poNumber": "456654",
"billTo": {
"firstName": "xxxx",
"lastName": "xxxx",
"company": "xxxx",
"address": "xxxxStreet",
"city": "Pecxxxxrings",
"state": "TxxxxX",
"zip": "446xxxx28",
"country": "xxxxUSA"
},
"shipTo": {
"firstName": "China",
"lastName": "Bayles",
"company": "Thyme for Tea",
"address": "12 Main Street",
"city": "Pecan Springs",
"state": "TX",
"zip": "44628",
"country": "USA"
},
"customerIP": "192.168.1.1",
"userFields": {
"userField": [
{
"name": "MerchantDefinedFieldName1",
"value": "MerchantDefinedFieldValue1"
},
{
"name": "favorite_color",
"value": "blue"
}
]
}
}
}
}

and get this response only all the time

{
"transactionResponse": {
"SupplementalDataQualificationIndicator": 0
},
"refId": "ref1566457911",
"messages": {
"resultCode": "Error",
"message": [
{
"code": "E00001",
"text": "An error occurred during processing. Please try again."
}
]
}
}

@Gallenger
Copy link

how to register?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants