Table of Contents |
---|
Overview
PayPal settings can be found under Front Admin tab in the JomDirectory configurations. For more information, see Configurations in the Administrative Guide.
Obtaining a PDT TOKEN
Payment Data Transfer (PDT) is used to allow merchants to view order-related information for customers on the site where PayPal is activated. To use PDT, you must activate PDT and Auto Return in your PayPal account profile. You must also acquire a PDT identity token, which is used in all PDT communication you send to PayPal.
Screen 1: PDT Token creation
Configure your account to use the PDT using the following steps:
- Log in to your PayPal account.
- Click the Profile sub tab.
- Click Website Payment Preferences in the Seller Preferences column.
- Under Auto Return for Website Payments, click the On radio button.
Ensure that you enable Auto Return to use PDT.
- For the Return URL, enter the URL of your site that will receive the transaction ID posted by PayPal after a customer payment.
- Under Payment Data Transfer, click the On radio button.
- Click Save.
- Click Website Payment Preferences in the Seller Preferences column.
- Scroll down to the Payment Data Transfer section of the page to view your PDT identity token.
Note |
---|
If PDT is already enabled as per the instructions above, to view your token, follow steps 1-3 from the above procedure. After you are in the Website Payment Preferences area of your account, you can view the token under the PDT On/Off area. |
A confirmation message is displayed the top of the page indicating that you have successfully enabled PDT. Your identity token is also shown within that message, as well as below the PDT On/Off radio buttons.
Configuring PDT Token in JomDirectory
After you receive the PDT Token, you must provide this information in the Front Admin tab under JomDirectory configurations.
Screen 2: PDT token configuration
To complete the PayPal configurations, provide the values as given in the following table:
Options | Usage |
---|---|
Enable PayPal | Enable to start using PayPal |
PayPal Email Address | Provide the email address registered with PayPal. |
Use PayPal Sandbox | Enable to use PayPal sandbox. |
PayPal Sandbox Merchant Email | Provided the email address registered with PayPal Sandbox. |
Paymens Success Article ID | Payment successful article ID |
Info |
---|
This configuration is essential if you want to use membership plans. |
...
How do I create REST API credentials?
Here's how:
- Log in to the PayPal Developer Portal using the same credentials you use for PayPal.
- Select Dashboard.
- Click Create App under REST API apps. Any previously created REST API apps will appear in the table under the Create App button.
- Enter the name of your REST API app in the App Name field, and select a Sandbox developer account to associate with your account.
Note: Remember that you can't use a Live credit card in Sandbox, and you can't use a test credit card in your Live account. - Request permissions for REST API features that apply to your integration, such as:
- Invoicing API
- PayPal Here
- Subscriptions
- PayPal payments
- Log In with PayPal
- Direct credit cards
- Future Payments
- Payouts
To request access to the following features in the Live environment, select the Enable options as shown in the following screen. After you click Enable, your choices undergo a vetting process that can take up to two or three business days.
- Once your Live and Sandbox REST API credentials are created, including Client ID and Secret, click the Sandbox and Live buttons to switch between each set of credentials.
Notes:
- You should be able to complete transactions in the Live environment right away.
- Both environments use the same URL. Only the REST API credentials (Client ID and Secret) tell you which environment you're in.
- Don't share your Live REST API credentials with anyone.
Add your new credentials
Go to Joomla Plugins than find Comdev PayPal Plugin, enter given credentials created in previous point. Switch Live or Sandbox.