Support Center

Admin Panel - Billing > Gateways

If you want to monetize your site, you’ll need to enable one or more payment gateways. SocialEngine PHP has two default gateways to choose from, Paypal and 2Checkout. This tutorial will walk you through the process to set up these payment gateways.

To enable a payment gateway, go to the Billing > Gateways menu item in your admin panel.

Select one of the included 2Checkout or Paypal gateways.

2Checkout Gateway

The 2Checkout gateway supports payments from more countries and offers excellent personal service to SocialEngine clients - they also give users the option to pay via PayPal if they wish.

Configure Your 2Checkout Account

  1. Establish a 2Checkout account:
  2. Click the “Account” tab and “Site Management” subcategory. 
  3. Under Checkout Options > Direct Return select “Header Redirect”. 
  4. Set the “Approved URL” to (Replace with the actual URL to your domain.) 
  5. Click the “Account” tab and “User Management” subcategory.
  6. Click the “Create Username” link and create a new username with “API Access” and “API Updating” selected for the Access type. 
  7. Click the “Webhooks” tab and select “Enable All Notifications”.
  8. Enter as the “Global URL” and click “Apply”. (Replace with the actual URL to your domain.) and click “Save Changes”. 
  9. Return to SocialEngine Admin panel and proceed to Billing -> Gateways. (See screenshot at the start of this tutorial)
  10. Under “Manage Payment Gateways”, click “edit” for 2Checkout. 
  11. Enter your API username and password (additional user that you set up in your 2Checkout account). Select “Yes” for “Enabled”? and click “Save Changes”.

    Note: If you change the secret word in your 2Checkout account, you will need to visit this page again and re-save the settings.

PayPal Gateway

If you would prefer to use PayPal instead of 2Checkout and don't yet have an account, you can create one at PayPal's website.

Configure your Paypal Account

  1. Establish a business Paypal account:
  2. Navigate the API Access page. To create new credentials, under “NVP/SOAP API integration” select “Request API Credentials”.
  3. Select “Request API Signature” and click “Agree and Submit”. For more information, see Creating and Managing Classic API Credentials. If you have existing API credentials, you can also use this shortcut to review them: 
  4. In your Admin panel, go to Billing > Gateways and click “edit” to the right of PayPal. 
  5. Insert the Paypal API username, password, and signature values into this form and click “Yes” for “Enabled”. “Save Changes” when done.
  6. At PayPal, enable Instant Payment Notifications via: My Account > Profile > My Selling Tools. Expand “Getting paid and managing my risk” if needed and check “Instant payment notifications”. Click “Update” and add or edit settings. From this page, you can enable or disable the IPN service and enter your “Notification URL”. The IPN messages should be enabled. Set the “Notification URL” to the one where you want to receive IPN messages. (For example: ) Note that the Notification URL will show in your Admin panel in the PayPal edit screen.
Great work with payment gateways! Please feel free to contact us if you have any questions or need further tutorials. Visit our community to have more interactions with us and other clients or third party developers. We’d love to see you there!
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found