Services Plugins FAQs

Paypal Plugin Help

Hello,

Im using the Paypal recurring payment plugin and I am trying to remove the shipping amount and shipping address function. I don’t need it since it is a digital product but when I remove the parameters or change it to “{}” It gives an error.

Settings: https://gyazo.com/ff94146847d2364559cf59f60dc4ef4a
Error: https://gyazo.com/c6f6a09d24af55c78d55a03142e6fbdd

Best,
Nic

Also,

Is there no way to test the plugin before testing it with live keys? Since the plugin doesn’t use sandbox URLs it is impossible to test.

Hi @nic,

Thanks for reaching out. Please let us investigate it then get back to you asap!

Best,
Alex

Thank you, any update?

Hi @nic,

Yes, we managed to check on plugin code - it will throw an error in case the field is empty, this is based on PayPal docs as well, unfortunately.

But you can try to leave it an empty JSON object something like:

{
  "shipping_address" : ""
}

Or

{
  "":""
}

And even if you leave a complete object:

You can still subscribe without a shipping address for digital products, because there is a field where you indicate the Shipping type as shown above, and it’s value should be NO_SHIPPING. We have set an example in our demo app:

Where you can set a dropdown for your product to be digital, and select no shipping. This field can be set as a static value on your side perhaps, and give it a try in case you want to promote digital products only.

Of course it is possible. You just need to place your sandbox keys in Plugins tab, and test it out. Here is example of our demo app:

image

Demo link.
Editor link.
Plugin docs link.

Hope it helps!

1 Like