Skip to content

Feature: buy a token! #636

@dadiorchen

Description

@dadiorchen

Implement the buy a token feature feature as described here:

@skip @web @mobile_native
Feature: buy a token from Greenstand
Scenario: As a user, I can buy a token from Greenstand
Given I am on the home page
And I have a wallet: wallet-1
When I click on the "Buy Token" button
And I select the amount of tokens to buy
And I input my payment details and click "Submit"
Then I should see a confirmation message that the token has been purchased
And the token should be in my wallet: wallet-1

The steps is described below:

Image
  • The transfer step after stripe payment webhook can be ignored because we don't have api support that.
  • Need to set up stripe key and secret for communication
  • Need to set up a Keycloak machine 2 machine token between wallet api and user api, it can be a simple one because we will not really use it to call wallet api at this moment.
  • The UI/UX could be simple and we can improve it later.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions