Introduction To Website Payment Preferences
- First log into your paypal sandbox account and go to the Test Accounts section. Their are 2 accounts called Business Account and Personal Account.
- Select the Business Account radio button and click Enter Sandbox Test Site button to login. Use the business account email and password.
- Once you log in, you can see the business account dashboard as shown in the below screen.
- Go to the Profile menu item in the top navigation bar and click More Options link to view the available configuration options.
n this section you can view all the available configuration options for your sandbox account. Click on the Website Payment Preferences in the Selling Preferences section.
Configure Settings For Website Payment Preferences
In this section I am going to explain about the essential features needed to setup the web site payments. Other optional settings will be explained in a future tutorial.
This is one of the important setting you need to configure before you start integrating paypal. It has on/off option. If Auto Return is set to on, the user will be redirected automatically to your web site after payment process is completed. This is necessary to capture the payment details from your web site. So i suggest you to set it to on state.
Next most important thing is the Return URL. This is the page where user will be redirected after successful payment if Auto Return is set to on. So use the url of the page you want your visitors to come after successful payment.
Even though it is an optional setting I suggest you to put it on. Reason why I am telling this is that once Payment Data Transfer is set to on, paypal will send details about the payment to the Return URL. In that page you can capture and validate the payment data. If it is set to off, paypal will just redirect user back to your site without any payment related data.
Now we have set all the necessary settings to handle payment data. In the next tutorial I will show you the process of a paypal payment before we move into the paypal integration part.