Skip to content

need help with createAnAcceptPaymentTransaction api return error all time  #154

Description

@mysoc13

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."
}
]
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions