Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The live WSDL is pointing to the Sandbox endpoints

The live WSDL pointing to the Sandbox endpoints was a deliberate decision on the part of the PayPal development team caused by the fact that when PayPal first published the live WSDL, people started developing against the live WSDL rather than Sandbox. These developers ignored the PayPal documentation and failed to find out about the Sandbox existence. Therefore, the PayPal live API servers were flooded with thousands of malformed, bogus, or otherwise incorrect transaction requests. In order to prevent that from happening, PayPal redirects buyers to the Sandbox.

How to make live transactions

In order to make live transactions using the PayPal SOAP API, you have to follow the next steps:

STEP 1: Copy the https://www.paypal.com/wsdl/PayPalSvc.wsdl file on your computer.

STEP 2: Open the PayPalSvc.wsdl file with any text editor (i.e.: WordPad, NotePad, etc.).

STEP 3: Replace:

<wsdlsoap:address location="https://api.sandbox.paypal.com/2.0/"/>

with:

<wsdlsoap:address location="https://api.paypal.com/2.0/"/>

STEP 4: Replace:

<wsdlsoap:address location="https://api-aa.sandbox.paypal.com/2.0/"/>

With:

<wsdlsoap:address location="https://api-3t.paypal.com/2.0/"/>

STEP 5: Replace the next three lines:

<import namespace="urn:ebay:apis:CoreComponentTypes" schemaLocation="CoreComponentTypes.xsd"/>
<import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="eBLBaseComponents.xsd"/>
<import namespace="urn:ebay:apis:EnhancedDataTypes" schemaLocation="EnhancedDataTypes.xsd"/>

with:

<import namespace="urn:ebay:apis:CoreComponentTypes" schemaLocation="https://www.paypalobjects.com/wsdl/CoreComponentTypes.xsd"/>
<import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="https://www.paypalobjects.com/wsdl/eBLBaseComponents.xsd"/>
<import namespace="urn:ebay:apis:EnhancedDataTypes" schemaLocation="https://www.paypalobjects.com/wsdl/EnhancedDataTypes.xsd"/>

STEP 6: Upload the updated file on a public location (i.e.: {store_ul}/PayPalSvc.wsdl).

STEP 7: Update the PayPal configuration from theAutomation interface by filling in the location of the public .wsdl file in the PayPal schema field available in the Setup >> Behaviour >> Payment Preferences tab. 

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.