Configure Pay Pal
You can add Pay Pal to your website to sell items and events online with a credit card.
Pay Pal Business Account
You will need to sign up with Pay Pal for a business account. You can use the following link to sign up :
The following video will show you how to set up a Pay Pal business account.
Verifying Your Credit Card
Before you can use Pay Pal, you must verify your credit card. The following link will describe how to verify your credit card:
Turning on PayPal Instant Payment Notification
PayPal Instant Payment Notification (IPN) allows PayPal to send payment data to Selling Service.
Login to your PayPal account and click the 'Profile' link at the top of the Page then click on 'Profile and settings'. Then, click on 'My selling tools' and 'Update' on 'Web preferences'.
In the IPN page, click on the 'Choose IPN Setting' button.
Set the Notification URL to : https://your-website-url/api/v1.0/paypal/ipn
This is an example of a Notification Url : http://mysellingservice.azurewebsites.net/api/v1.0/paypal/ipn
Set the 'IPN messages' to : 'Receive IPN messages(Enabled)' and click the 'Save' button.
Creating a PayPal Identity Token
Login to your PayPal account and click the 'Profile' link at the top of the Page then click on 'Profile and settings'. Then, click on 'My selling tools' and 'Update' on 'Instant payment notification'.
In the 'Web Preferences' page, set the 'Auto Return' to On. Set the 'Return Url' to: http://your-website-url/Payments/PaymentConfirmation
This is an example of a Return Url : http://mysellingservice.azurewebsites.net/Payments/PaymentConfirmation
Set the 'Payment Data Transfer' to On. Copy and paste the Identity Token to a safe location. We will use it later on to configure Selling Service.
Configuring Selling Service for Pay Pal
In the resource group, click on the web app
In the web app, scroll down to 'Settings' and click on Application settings
In the 'Application settings' page, scroll down to the App settings section and add the following additional Key-Value settings:
PayPalBusiness- the username for your Pay Pal business account.
PayPalUrl- the Pay Pal Url for HTML buttons (set this to https://www.paypal.com/cgi-bin/webscr) PayPalIdentityToken- the PayPal Identity Token that we created earlier
Ensure the 'Slot setting' is ticked for all the settings. Click the Save button when you are done.
Save the application settings. You will then need to Restart the web application in the Overview section.