Using SPiD as a payment provider

SPiD can be used as a payment provider in two main ways:

1. SPiD as your product catalog

SPiD offers a rich data model in which you can store all your products, subscriptions and bundles. These may be created through the API, or through the product administration interface in Ambassador. The benefit of this approach is that non-developers can work directly with the product catalog.

When storing your products in SPiD, you have access to all payment options:

  1. Fully automatic subscriptions (SPiD charges subscribers at appropriate times)
  2. Direct payment - for recurring payments (when not using automatic subscriptions)
  3. Paylinks - Send customers directly to checkout with one or more products
  4. Full e-commerce solution in SPiD, where users can choose from your product catalog and check out

2. Keeping your own product catalog

Storing products in SPiD is entirely optional, and you may choose not to do so, for any number of reasons. If you prefer to keep your own product catalog, you may still use two different means of charging users:

  1. Create orders directly
  2. Paylinks - Send customers directly to checkout with one or more products

Below you will find guides for implementing both paylinks and direct charge. Both of these may be used regardless of where your products are stored, but the guides presume no products stored in SPiD. The differences for a product catalog in SPiD are noted where appropriate.

With paylinks, you prepare the product(s) the user wants to buy and inform SPiD of the impending purchase. SPiD will return a URL that will take the user to the check out process for the selected products. Products may or may not be storedm in SPiD.

On this page

Help us improve

Did you spot an error? Or maybe you just have a suggestion for how we can improve? Leave a comment, or better yet, send us a pull request on GitHub to fix it (in-browser editing, only takes a moment).

History of this page

Comments/feedback

Do you have questions, or just want to contribute some newly gained insight? Want to share an example? Please leave a comment. SPiD reads and responds to every question. Additionally, your experience can help others using SPiD, and it can help us continuously improve our documentation.