Skip to content

Stripe.com as a new, additional payment provider

Choose a tag to compare

@FlorianSW FlorianSW released this 15 Jan 18:57
· 144 commits to main since this release

Changes

New features

I'm pleased to announce the availability of the following new functionality within the server donation tool:

  • Stripe.com can now be used as an additional payment provider (additionally or instead of PayPal.com). Stripe.com is currently not available for subscriptions. If you want to offer subscribeable packages, you need to setup at least PayPal.com.
  • Donators can now unselect perks they do not want to redeem once they donated (#50)
  • On a new page "Account" a donator can inspect what perks they own right now and see the recent donations they made

Other changes

  • You can now define a separate name for a package used exclusively in the payment providers (e.g. Paypal) pages, like the statement/activity or checkout process pages. See the documentation for more information.
  • Fixed an issue that could allow donators to redeem perks of an order which is not yet paid
  • The discord notifications DONATED, SUBSCRIPTION_EXECUTED, SUCCESSFUL_REDEEM and REDEEM_ERROR now contain the perks of the package to better distinguish packages with the same name (#51)
  • The Dockerfile shipped in this repository was wrongfully using nodeJS 14.x as a base image, which is not suppored since version 1.3.0 of the server donation tool. The Dockerfile is now updated to a working version.
  • Each donation is now shareable by default. There is no need for a donator anymore to select if they want to donate and earn the packages for themselves or gift to someone else. This should simplify the donation process for donators.
  • Updated cftools-sdk to v1.7.0 to make resolving a CFTools ID of a Steam ID more efficient (one cause of #53). More optimizations to improve rate limit handling for CFTools related actions are planned.

Changes to Perks

  • The Priority Queue perk, powered by CFTools Cloud, now supports to be configured with multiple cftools server IDs. When one priority queue perk has multiple server IDs, the donator can choose from one of these servers where they want to get priority queue on. This can be useful in situations, where you would otherwise configure multiple different packages with exactly the same configuration, while only changing the server where the priority queue slot is redeemed. If you want to have one package, which grants priority queue on multiple servers, continue to configure one package with multiple priority queue perks.

Changes to the config.yml

  • The paypal key is now optional (conditionally, either stripe or paypal, or any future payment provider must be configured)
  • There is a new stripe configuration key to configure the Stripe.com payment provider

Update notes

In order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):

  • Ensure you have NodeJS version 16.6 or higher installed. You can check that by running node -v in your command line window. If it is not a supported version, first upgrade NodeJS before continuing to upgrade the Donation tool. If you do not update NodeJS first, the donation tool will not start and bring your donation website offline!
  • Download the source code of this release (either with a git pull to the tag or by downloading the zip file from this page)
  • Run npm ci to update the required dependencies