Payment Gateways
Enderpay currently offers support for both Stripe and PayPal gateways. For help and instructions on how to install and enable a gateway, follow the steps in this article.

Install a gateway

Free

To install the Free gateway follow the steps outlined below:
  1. 1.
    Using the sidebar, navigate to Payments > Gateways
  2. 2.
    Click on the Create button.
  3. 3.
    Find the Free gateway and click the Install button.
  4. 4.
    Enter a name for your gateway, this will be visible to customers.
  5. 5.
    Enable your gateway under the gateway options.
  6. 6.
    Click Update when complete.
This checkout can only be used with the customer's cart value is 0.

Stripe

The following guide assumes that you have already created a Stripe account.
Follow the steps below within the Stripe dashboard (https://dashboard.stripe.com/dashboard)
  1. 1.
    Using the sidebar, navigate to Developers > API Keys.
  2. 2.
    Make sure that you have a "Publishable key" and a "Secret key" created, take note of these keys as we'll be needing them soon.
  3. 3.
    Next, we need to configure webhooks. This allows Stripe to notify Enderpay of any payments or chargebacks that have been made on your account. To do this, navigate to Developers > Webhooks using the sidebar.
  4. 4.
    Click the "+ Add endpoint" button. In the events box, select the events checkout.session.completed and charge.dispute.created. In the Endpoint URL field, enter https://enderpay.com/store/{store-id}/hooks/stripe . Replace {store-id} with the ID of your store - this can be found by going to Manage Stores > Edit Store in the Enderpay admin panel and in the URL there will be a number e.g. https://admin.enderpay.com/dashboard/stores/1 .
  5. 5.
    Once your webhook has been created in the Stripe dashboard, go to the "Signing secret" box and click "Click to reveal". The webhook signing secret allows Enderpay to verify that the webhook is coming from Stripe. Copy the webhook signing secret as we'll be needing it soon.
Follow the steps below within the Enderpay admin panel.
You need the Stripe API Publishable key, Secret key and the webhook signing secret to continue. So make sure you know those values.
  1. 1.
    Using the sidebar, navigate to Payments > Gateways.
  2. 2.
    Click the Create button.
  3. 3.
    Find the Stripe payment gateway and click Install.
  4. 4.
    Enter a name for the gateway.
  5. 5.
    Enter the Stripe publishable key, Stripe secret key and the Stripe webhook signing secret.
  6. 6.
    Enable your gateway under the gateway options.
  7. 7.
    That's it!
Stripe API details such as keys and secrets should be handled with care. It is a security recommendation that you change these values frequently.

Paypal

The following guide assumes that you have already created a PayPal account.
To install the PayPal gateway follow the steps outlined below:
  1. 1.
    Using the sidebar, navigate to Payments > Gateways
  2. 2.
    Click on the Create button.
  3. 3.
    Find the PayPal gateway and click the Install button.
  4. 4.
    Enter a name for your gateway, this will be visible to customers.
  5. 5.
    Enter the email address associated with your PayPal account.
  6. 6.
    Enable your gateway under the gateway options.
  7. 7.
    Click Update when complete.