Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

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:

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

with:

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

STEP 4: Replace:

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

With:

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

STEP 5: Replace the next three lines:

Code Block
<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:

Code Block
<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.

Articles

Content by Label
showLabelsfalse
max5
spacesKBcom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
sortmodified
showSpacefalse
reversetrue
typepage
labelsautomation paypal soap
cqllabel in ("automation","paypal","soap") and type = "page" and space = "KB"

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