Happy Business Starts Here

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Highlighted
Master

"Error processing transaction.null - " when creating new Paypal Adaptive Payments PaymentMethod

Hi all,

I'm developing an application using Zuora Sandbox but I'm now getting this error whenever I try to add a new Payment Method for PayPal Adaptive Payments gateway. This is the complete XML response I get:

 

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns1:createResponse xmlns:ns1="http://api.zuora.com/">
<ns1:result>
<ns1:Errors>
<ns1:Code>TRANSACTION_FAILED</ns1:Code>
<ns1:Message>Error processing transaction.null - </ns1:Message>
</ns1:Errors>
<ns1:Success>false</ns1:Success>
</ns1:result>
</ns1:createResponse>
</soapenv:Body>
</soapenv:Envelope>

I'm not sure what's the problem is here, I've tried to reconfigure the payment gateway to ensure credentials were ok but with I still get the same error.

 

Any idea?

17 REPLIES 17
Highlighted
Support SME

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Hi @stefano_els , could you also post the original API request you're sending so I could take a closer look? Thanks!



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Highlighted
Master

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Here it is, note that I hid some sensitive information.

 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://object.api.zuora.com/" xmlns:ns2="http://api.zuora.com/">
    <SOAP-ENV:Header>
        <ns2:SessionHeader>
            <ns2:session>SESSION_ID</ns2:session>
        </ns2:SessionHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <ns2:create>
            <ns2:zObjects xsi:type="ns1:PaymentMethod">
                <ns1:AccountId>2c92c0f94cffa034014d1e07019461af</ns1:AccountId>
                <ns1:PaypalEmail>info-buyer@example.com</ns1:PaypalEmail>
                <ns1:PaypalPreapprovalKey>PA-5GS89379WV239444V</ns1:PaypalPreapprovalKey>
                <ns1:PaypalType>AdaptivePayments</ns1:PaypalType>
                <ns1:Type>PayPal</ns1:Type>
            </ns2:zObjects>
        </ns2:create>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Highlighted
Support SME

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Thank you, that is fine - I actually wanted to mention to remove any session / token details for security reasons, you beat me to it 🙂

 

I'll take a look and will get back to you shortly.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Highlighted
Support SME

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

@stefano_els I have done some tests on my own tenant and it seems the error goes away as soon as I turn off the Verify new Pre-Approval Key option in the Gateway Settings, and the method then gets created.

 

Could you please try turning the option off temporarily in Settings > Z-Payment Settings > Setup Payment Gateway, creating the Payment Method, then attempt to process a test payment with this newly created method? If it would go through this way, we could narrow down our investigation to the verification feature of PayPal.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Master

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

If I disable the verification I am able to create the Payment Method. However I am faced with the same problem once I use that Payment Method to perform a subscribe call. The response is similar:

 

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns1:subscribeResponse xmlns:ns1="http://api.zuora.com/">
            <ns1:result>
                <ns1:Errors>
                    <ns1:Code>TRANSACTION_FAILED</ns1:Code>
                    <ns1:Message>Error processing transaction.null - </ns1:Message>
                </ns1:Errors>
                <ns1:GatewayResponse></ns1:GatewayResponse>
                <ns1:GatewayResponseCode>GeneralTransactionError</ns1:GatewayResponseCode>
                <ns1:Success>false</ns1:Success>
            </ns1:result>
        </ns1:subscribeResponse>
    </soapenv:Body>
</soapenv:Envelope>

From what you say it seems this is not a problem related to our specific account, right?

Highlighted
Support SME

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

So far it does not seem like it's specific to your account, however I'll need to continue looking in order to provide an accurate response.

 

Could you send me your tenant ID and the mentioned subscribe() call in a Private Message, and confirm I am allowed to log to your tenant for taking a look?



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Highlighted
Master

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Ok, thanks @Viktor you got PM 😉

Highlighted
Support SME

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Thanks - will let you know once I have any updates 🙂



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Highlighted
Support SME

Re: "Error processing transaction.null - " when creating new Paypal Adaptive Payments Paym

Hello @stefano_els

 

As mentioned in our PM session, I carried on with testing this scenario, and I managed to reproduce the error. I am involving some Payment experts to help me investigate this further - will let you know as soon as there's new information available!



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √