Sandbox Pro Gateway API Error.

CzarBrent
Contributor
Contributor

Getting "Internal Error" msg during sandbox post.

{"TIMESTAMP":"2019-05-31T21:50:33Z","CORRELATIONID":"85026459ed76d","ACK":"Failure","VERSION":"119.0","BUILD":"46457558","L_ERRORCODE0":"10001","L_SHORTMESSAGE0":"Internal Error","L_LONGMESSAGE0":"Internal Error","L_SEVERITYCODE0":"Error","AMT":"10.00","CURRENCYCODE":"USD"}

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Justin
Moderator
Moderator
Hello,

You submitted this direct card payment with a payment action of "sale" and you cannot void a sale transaction. The payment action should be "authorization" if you wish to have the ability to void it at a later date. For "sale" type transactions, you would need to issue a refund instead of a void.

Timestamp 31-May-2019 23:45:00 BST (1559342700)
DoDirectPaymentRequest
method "DoDirectPayment"
version "119.0"
paymentaction "Sale"
currencycode "USD"

Thanks !

Was my post helpful? If so, please give me a kudos!

View solution in original post

Login to Me Too
3 REPLIES 3

CzarBrent
Contributor
Contributor

I can get about 1 out of 5 purchases on average to go through.   Trying to VOID a successful transaction and only get transaction id is invalid.

Success Response on purchase:
{"TIMESTAMP":"2019-05-31T22:45:00Z","CORRELATIONID":"bf56bf26444c2","ACK":"Success","VERSION":"119.0","BUILD":"46457558","AMT":"9.00","CURRENCYCODE":"USD","AVSCODE":"Y","CVV2MATCH":"X","TRANSACTIONID":"3Y421590524055118"}

Fail Response for Void of above purchase
{"AUTHORIZATIONID":"3Y421590524055118","TIMESTAMP":"2019-05-31T22:45:41Z","CORRELATIONID":"12af035411b58","ACK":"Failure","VERSION":"119.0","BUILD":"52936238","L_ERRORCODE0":"10609","L_SHORTMESSAGE0":"Invalid transactionID.","L_LONGMESSAGE0":"Transaction id is invalid.","L_SEVERITYCODE0":"Error"}

Login to Me Too
Solved

MTS_Justin
Moderator
Moderator
Hello,

You submitted this direct card payment with a payment action of "sale" and you cannot void a sale transaction. The payment action should be "authorization" if you wish to have the ability to void it at a later date. For "sale" type transactions, you would need to issue a refund instead of a void.

Timestamp 31-May-2019 23:45:00 BST (1559342700)
DoDirectPaymentRequest
method "DoDirectPayment"
version "119.0"
paymentaction "Sale"
currencycode "USD"

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

CzarBrent
Contributor
Contributor

Your solution was the fix for my voids.  Thank you!   As a follow up just in case anybody else has the "Internal Error" 10001 , apparently the gateway is experiencing problems with too many people using the 4111111111111111 card number.  Switching to an alternate test card worked for me.
https://developer.paypal.com/docs/classic/payflow/integration-guide/#submitting-credit-card-transact...

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.