PayPal
PayPal is a payment provider that provides a range of payment options to your customers via Aurora. PayPal express allows your customers to checkout using the PayPal checkout process from the Basket and Checkout pages.
This articles details some of the features supported via the Aurora PayPal Express integration.
Setting up PayPal Express
The official PayPal documentation can be found here: https://developer.paypal.com/docs/classic/api/apiCredentials/
For Aurora, you simply need the username (with full permissions granted), password and signature that PayPal provides you.
Ensure that eCheques are disabled in PayPal, if the option is presented in your account.
Once you have these, go into Store > Settings > Payment Providers > PayPal and enter the information PayPal has provided you. If you have "Live" ticked it will reveal the PayPal Live Credentials; if it is not ticked it will display PayPal Test Credentials.
Billing Address
By default the billing address is:
- Not exposed by PayPal to Aurora over the integration.
- Set to the shipping address by Aurora.
This means that orders will be placed in Aurora with the shipping and billing addresses will be the same (the shipping address).
If you would like to collect the billing address from PayPal you must:
Request PayPal enable this on your PayPal account.
Change the "Use PayPal billing address" setting in the Aurora Back-end under Store > Settings > Payment Providers to collect this information from your enabled PayPal account.
Errors
Shipping address country has changed during the checkout process, please ensure the correct shipping country is selected before proceeding to PayPal
This means that the country the customer selected on PayPal does not match the same one they chose in their basket on your website. Please check one of the following, based on the PayPal response:
-
Whether the ISO2 from PayPal matches your ISO2 in Aurora.
-
Whether the customer did indeed change their address on PayPal. You can work this out based on the country that was sent back to Aurora, along with the country at the bottom of the data, e.g. "
shipping_country: '98'". In this case you could go to /aurora/shipping/countries/98#add_country and see if they match properly. If they do not match, the customer changes his country during the PayPal journey.
Updated over 2 years ago