Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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 Copy the https://www.paypal.com/wsdl/PayPalSvc.wsdl
file file on your computer.
STEP 2: Open the the PayPalSvc.wsdl
file 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 interface by filling in the location of the public public .wsdl
file file in the the PayPal schema field field available in the the Setup >> Behaviour >> Payment Preferences tab tab.
Related
Articlesarticles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.