Version 5 (modified by AntonL, 15 years ago) (diff) |
---|
By default Dolphin has Payment module with PayPal integration in it. This module is used to add shopping cart functionality to Dolphin and process payments. For example, default Dolphin's Store module is integrated with Payment module. So, if you want to use Store to sell something on your site you need to start from setting up Payment module.
- You need to install Payment module via Dolphin administration panel -> Tools -> Modules.
- Now you are ready to set it up in Dolphin administration panel -> Modules -> Payment and first of all you need to fill in your PayPal requisites in 'Payment Details' block. Take a look at the form parts:
- Mode. You may use PayPal in 2 modes (live and test). If you want to test payment on your site before going live you need to select 'test' mode and enter your sandbox email address in the last field of the form (Sandbox). If you ready to go live select 'live' mode. In this mode sandbox email is not needed.
- Business. You need to specify your PayPal email address here.
- Process type. You may use three types. They are direct, PDT and IPN. The easiest way is to use direct mode. In this mode you don't need to do any changes in your PayPal account. The second one is PDT. If you want to use it, you need enable PDT in your PayPal account and get a token there. Then you need to put it in the 'Identity token' field. This method is more secure then the 'Direct' one. The last one is 'IPN' mode. In this mode you need to configure your PayPal account too. Use URL like the following http://www.your_domain.com/path_to_dolphin/m/payment/act_finalize_checkout as notification URL in your PayPal. In this mode PayPal will notify Dolphin script about processed payment automatically when the payment was completed. It's useful when you have a lot of payments with eCheck or pending payments which are not processed immediately.
- Connection type. You may use SSL or HTML. If your server supports SSL then it would be better for you to use SSL connection, because it's more secure.
- Check 'Active' checkbox and save the form. Now you should be able to sell products in the Store.
There is an example of the easiest configuration.
Active: checked
Mode: live
Business: your PayPal email
Process type: direct
Connection type: HTML
Identity token: leave empty
Sandbox: leave empty
If you want to use 2co on your site you need to start from configuring your 2co account.
- Login into the account here https://www.2checkout.com/va/[[BR]]
- Go to Account -> Site Management (https://www.2checkout.com/va/acct/detail_company_info) Now you need to enter site related data.
- Demo Setting. It's used to enable/disable test mode. You need to choose Parameter value.
- Company Name, Soft Descriptor, Site Title, Site Description, Site Category. You need to fill in these fields in accordance with you company and site. Don't leave them empty.
- Direct Return. You need to select Given links back to my website.
- Secret Word. Fill in the value, it will be used in Dolphin integration.
- Approved URL, Pending URL. You need to use the same URL. It can be retrieved from Dolphin admin panel -> modules -> payment -> payment details block -> 2Checkout. URL is specified in the Data return URL field.
- Save the form.
- Demo Setting. It's used to enable/disable test mode. You need to choose Parameter value.
- 2co account is configured.
Now you need to configure 2co in Dolphin admin panel -> modules -> payment -> payment details block -> 2Checkout
- Active. Enable/Disable? the payment provider.
- Mode. You may use 2Checkout in 2 modes (live and test). If you are ready to go live select 'live' mode.
- Account number. You should receive it when you've registered the 2co account.
- Payment Method. This will set the default selection on the payment method step during the checkout process. You may select any one you want.
- Secret Word. You need to enter the same value you've entered during 2co account configuration on step 2.4.
- Save the form and configuration will be finished.
There is an example of configuration in live mode.
Active: checked
Mode: live
Account number: 1234567
Payment Method: PayPal?(PPI)
Secret Word: tango