I'm getting the following error when using my Sandbox Credentials using the Sample Code. This is only happening when I'm trying to do PayPal Express Checkout. My API Transaction Key and Login credentials work for other transactions.
Is this due to the Sandbox Maintenance that is scheduled for today at 6:00pm Pacific?
Any help would be appreciated. Thanks!
E00027 : The transaction was unsuccessful. 57 : An error occurred during processing. Please try again
<?xml version="1.0" encoding="utf-8"?> <createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <messages> <resultCode> Error </resultCode> <message> <code> E00027 </code> <text> The transaction was unsuccessful. </text> </message> </messages> <transactionResponse> <responseCode> 3 </responseCode> <rawResponseCode> 0 </rawResponseCode> <transId> 2254998933 </transId> <refTransID /> <transHash> 0573D45B85D937B5D90398C864BDF8F7 </transHash> <testRequest> 0 </testRequest> <entryMode> Keyed </entryMode> <accountType> PayPal </accountType> <errors> <error> <errorCode> 57 </errorCode> <errorText> An error occurred during processing. Please try again. </errorText> </error> </errors> </transactionResponse> </createTransactionResponse>
04-12-2016 09:52 AM
Hello @mascotbooster
The maintenance happening later today is unrelated to your issue. Could you please provide your entire XML request with any sensitive information removed?
Richard
04-12-2016 12:33 PM
I recently re-enabled PayPal as a digital payment solution. Is it possible it will take some time to activate? Thanks!
Here is the XML request:
<?xml version="1.0" encoding="utf-8"?>
<createTransactionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>[MY_LOGIN]name>
<transactionKey>[MY_KEY]</transactionKey>
</merchantAuthentication>
<transactionRequest>
<transactionType>authOnlyTransaction</transactionType>
<amount>18.95</amount>
<payment>
<payPal>
<successUrl>https://my.server.com/success.html</successUrl>
<cancelUrl>https://my.server.com/cancel.html</cancelUrl>
<paypalLc></paypalLc>
<paypalHdrImg></paypalHdrImg>
<paypalPayflowcolor>FFFF00</paypalPayflowcolor>
</payPal>
</payment>
<lineItems>
<lineItem>
<itemId>item1</itemId>
<name>golf balls</name>
<quantity>1</quantity>
<unitPrice>18.95</unitPrice>
</lineItem>
</lineItems>
<shipTo>
<firstName>China</firstName>
<lastName>Bayles</lastName>
<company>Thyme for Tea</company>
<address>12 Main Street</address>
<city>Bellevue</city>
<state>WA</state>
<zip>98004</zip>
<country>USA</country>
</shipTo>
</transactionRequest>
</createTransactionRequest>
04-12-2016 12:45 PM
I believe it's something to do with my Digital Payment Solution - PayPal integration. Becuase, when using the default sandbox credentials it works.
I've submited a support ticket
04-13-2016 11:35 AM