2Checkout provides a safe and secure hosted checkout process that collects customers' payment information.
Payment Features
Currently, the 2Checkout payment method supports the following payment features:
One-time Payments
Recurring Payments
Trial & Recurring Payments (Does not support free trials)
Setting Up 2CheckOut
If you have not already created an account with 2Checkout, head over to https://www.2checkout.com site and register your account.
Setting up on PayPlans
Obtain the
SID Numberfrom 2Checkout. TheSID Numberis theMerchant Codefrom your 2Checkout dashboard:Obtain the
Secret Wordwhich can be retrieved from Dashboard > Integrations > Webhooks & API under the Secret Word section from 2Checkout.If need to, you can change the
Activate Subscription Onbehavior. By default, it is set to On successful order creationDuring testing, you may enable the
Sandbox Modeto try out with test payments
Do not change the Activate Subscription On value if you already have existing subscriptions as it will affect the existing subscription and will not work correctly. Create a new integration if you wish to change it.
Setting up on 2Checkout
On the Dashboard > Integrations > Webhooks & API page, set up the
Approved URLfield so that the user will be redirected to the desired page after they complete the payment.http://yoursite.com/index.php?option=com_payplans&view=payment&task=complete&action=successNOTE
Replaceyoursite.comwith your site's domain and if you're usinghttps://protocol, then set it appropriately.
If you are experiencing a redirection to the 2CheckOut site after successful payment from your site, you'll need to set the Return method setting on the 2CheckOut to Header Redirect.
Configure the Instant Payment Notifications (IPN) by clicking on the icon shown below:
Enter the following URL and replace
yoursite.comwith your site's domain appropriately and click Apply to apply it to all url fields.http://yoursite.com/index.php?option=com_payplans&view=payment&task=notify&NOTE
Please do not forget to attach&at the end of the notify URL.
Frequently Asked Questions
If you are using cloud-flare or any other CDN service on your site, then disable it and check again.
The problem with 2checkout testing is that it doesn't send notifications for recurring payments. Otherwise, it works fine with Fixed payments. If you have only fixed plans then you can test it's working.




