This project is an example of a basic Signup application in Angular by using SubscriptionJS and REST API through billwerk node wrapper
- Clone repo
git clone git@github.com:billwerk/subscriptionjs-angular.git - Run
npm installin the cloned repo to install all dependencies - Login to your account on Sandbox server
- Make sure that your account has any active planvariants (Products)
- Allow signup via selfservice in the planvariant itself
- If you see "undefined" in the planvariant selection dropdown, please fill the description of the planvariant in the billwerk UI
- Make sure that your account has set both whitelabel FakeProvider payment methods (Settings/Payment Settings)
- Populate your settings in
src\environment\sandbox\environment.ts:publicApiKey- please visit Settings/Self-Service and copy yourPublic API KeyonGeneraltabclientIdandclientSecret- please visit Settings/My Apps, create a newConfidentialclient and copyIdandSecret
- Run
npm run sandboxorng serve --c=sandboxin the cloned repo for a sandbox server - Navigate to http://localhost:4200/ in your browser