2CheckOut.com

Return to Payment Integration Page | Return to Index

When setting up a 2CheckOut.com system, the first step (assuming that you have a valid 2CheckOut.com account) is to set up the Approved URL and Pending URL. This is very similar to the IPN system available in PayPal. These are the URLs that users will be redirected to after payment.

After login to 2CheckOut.com, there is a "Settings" link in the "Helpful Links" area, as shown here. This is immediately to the right of "Look & Feel".

Your Approved URL and Pending URL should be the same: the full http:// or https:// URL to your "checkout_process.php" file. This is located within the osDate root folder, so {domain} will actually be the full domain and path to your osDate root. You should input this for both Approved URL and Pending URL. The checkout_process.php file will know whether the payment is approved or pending, and it will process the payment only if approved. In both cases, osDate will present the user with a thank you page.

Now login to the osDate admin panel, and edit the 2Checkout.com Payment Module option.

Leave all options at their default values, except for "Site Id". Leave the "Transaction Mode" at "Test" for now until you have fully tested the system and are confident that the process is working. After you've confirmed that it's working, you should clear this value (set to empty field, then save).

Now, when a user chooses the 2CheckOut.com option for payment, they will be redirected to the 2CheckOut.com website for payment. On successful payment, your system will be notified via the checkout_process.php file, and the user's profile will be upgraded appropriately.

Coming soon! Advanced 2CheckOut.com integration by allowing the user to input their credit card information directly into osDate, and authenticating the transaction without even leaving osDate