Skip to main content

Payment Gateway

There are various ways to integrate Cents into your platform, each catering to different needs and technical capabilities. One of the most popular and simplest methods is the CentsJS Widget, which allows to integrate Cents in less than one day.
CentsJS Widget guide explains how it can be seamlessly integrated into your Payment Gateway platform.

What is CentsJS Widget?

The CentsJS Widget is a powerful tool for displaying the UI and managing communications with Cents. It is designed to make the donation process simple and efficient for both businesses and consumers.

The widget empowers our partners to seamlessly integrate charitable giving into everyday transactions. This flexible solution allows cardholders to make one-time donations — either by rounding up to the nearest euro or donating a specific amount — in two distinct scenarios: directly at the point of payment or immediately following a transaction on the thank-you page. With Cents, even routine purchases, like buying a new pair of shoes, can transform into meaningful contributions to causes that matter. Our secure and streamlined process ensures that every donation is a simple, yet powerful, act of generosity.

Here’s how it works:

  • Donations are processed only when an order is fulfilled. Cents automatically manages the donation splitting among different causes, ensuring that each donation reaches the intended recipient.
  • Simply needs to install the CentsJS library and notify Cents via a webhook when an order is fulfilled.

These steps are designed to minimize integration effort, allowing you to quickly benefit from our features without complications.

Why Choose CentsJS Widget?

The CentsJS Widget is designed to be user-friendly and easy to implement. Here are some key reasons why it is an excellent choice:

  • Quick Integration: The integration process is streamlined and can be completed in less than one day. This means your business can start facilitating donations without extensive development time.
  • Minimal Technical Requirements: The CentsJS Widget requires only a few lines of JavaScript code, making it accessible even to teams with limited technical expertise.
  • Seamless User Experience: The widget manages the user interface and backend communications, ensuring a smooth and consistent experience for your customers.
  • Flexibility: The widget can be customized to fit the specific needs of your business, allowing you to offer a unique donation experience to your customers.

Possible Scenarios

Donation Types

There are two main types of donations that the donation widget can facilitate:

  1. Fixed Donation Amount: The widget displays up to three predetermined donation amounts that the consumer user can select.
  2. Round-Up Donation: A checkbox is provided, allowing the consumer user to round up their payment amount to the nearest euro, with the difference being donated.

Donation Moments

The donation widget can be integrated at various points in the checkout flow:

Within the Main Payment

The donation widget can be shown on the payment confirmation page. In this scenario, there are two sub-scenarios:

  1. Donation with the Main Transaction: The donation is processed together with the main transaction, resulting in a single charge. The payment gateway then splits the amount between the merchant and the charity/cents.
  2. Donation as a Separate Transaction: If processing the donation with the main transaction is not feasible, the donation can be handled as a separate transaction. This approach is transparent to the consumer user but may simplify processing for the payment gateway.

After the Payment of the Main Transaction

The donation widget can also be displayed on the "thank you" page after the main payment has been completed. In this case, the donation is processed as a separate transaction using the transaction data previously stored.
By providing flexible integration options, the donation widget ensures a seamless experience for consumer users while accommodating various processing capabilities of the payment gateway.

About your impact

Cents provides you regular updates about your impact, your charitable donations, and those of each of your merchants.

How to Get Started?

To begin the integration process, refer to our detailed CentsJS Widget for comprehensive instructions and guidance.

By following the steps outlined on the introduction page, you can ensure a smooth and efficient integration, enabling your D2C business to enhance its customer experience and support charitable causes effortlessly.

See some examples

Let's go to the next section!

Need Assistance?

If you require any assistance during the integration process or have any questions, please do not hesitate to contact us at tech@centsdonations.com. We are here to help you every step of the way.

Embark on your journey to make a positive impact with the CentsJS Widget today!