
This add-on is operated by ulip ou
web service - get Stripe payments in Your App without writing a line of code
UpayS
Last updated March 14, 2025
This is a draft article - the text and URL may change in the future. This article is unlisted. Only those with the link can access it.
The UpayS add-on is currently in beta.
Table of Contents
UpayS is an add-on providing a web service for making Stripe payments in your Heroku application without writing a single line of code. Built with JavaScript and NodeJS, the add-on speeds up your application development and time to market.
With UpayS, you can:
- Integrate logic that implements payment transactions using Stripe API calls in both front-end and back-end application components.
- Integrate a configurable payment page for B2B or B2C use cases.
- Generate clients on the Stripe server.
- Generate SHA256 keys for your application clients that you can use in the sign-in process.
Your Heroku app accesses the UpayS service via an encrypted web API called LINK
. The LINK
is generated in the service dashboard and you can customize the format in 2 modes: TEST
or PRODUCTION
. The customized parameters of the LINK
API are the price and your application Stripe API key. We don’t store these parameters on any server when using UpayS service.
Provisioning the Add-on
Attach UpayS to a Heroku application via the CLI:
Reference the UpayS Elements Page for a list of available plans and regions.
$ heroku addons:create upays
Creating upays on example-app… free
Your add-on has been provisioned successfully
After provisioning UpayS, the UPAYS_URL
config var is available in the attached app’s configuration. It contains the canonical URL used to access the newly provisioned UpayS service dashboard. You can see the config var via the heroku config:get
command:
$ heroku config:get UPAYS_URL
https://upays-client-2fd5d321b077.herokuapp.com/resourceid/encrypted_access_code
After installing UpayS, the application is fully configured to integrate with the add-on.
Monitoring and Logging
Monitor UpayS activity within the Heroku log stream:
$ heroku logs -t | grep ‘upays pattern’
Dashboard
For more information on the features available within the UpayS dashboard, see the UpayS documentation.
The UpayS dashboard provides the payment page configuration. In the dashboard, you can:
- Set the business type: B2B or B2C
- Set the monthly fee: one time fee or more
- Discover changed data for update
- View and download clients keys
- Set the web link where to redirect after checkout
- Preview the payment page
- Display stats
Access the dashboard via the CLI:
$ heroku addons:open upays
Opening upays for sharp-mountain-4005
Or by visiting the Heroku Dashboard and selecting the application in question. Select UpayS
from the Add-ons
menu.
Troubleshooting
If you run into an error, UpayS displays a web page explaining the error and displays a button to email the support team.
Migrating Between Plans
Application owners must carefully manage the migration timing to ensure proper application function during the migration process.
Use the heroku addons:upgrade
command to upgrade to a new plan. Use the heroku addons:downgrade
command to downgrade to a new plan.
$ heroku addons:upgrade upays:silver
—–> Upgrading upays:silver to example-app.. done, v18 ($19/mo)
Your plan has been updated to: upays:silver
Removing the Add-on
Remove UpayS via the CLI:
This action destroys all associated data and you can’t undo it!
$ heroku addons:destroy upays
—–> Removing upays from example-app… done, v20 (free)
Support
Submit all UpayS support and runtime issues via one of the Heroku Support channels. Any non-support-related issues or product feedback is welcome at UPAYS by www.ulip.ee.