Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create create transaction command (/transaction create ...details) #94

Open
NotYusta opened this issue Jun 16, 2022 · 1 comment
Open
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@NotYusta
Copy link
Member

No description provided.

@NotYusta NotYusta self-assigned this Jun 16, 2022
@NotYusta NotYusta added the help wanted Extra attention is needed label Jun 16, 2022
@NotYusta
Copy link
Member Author

NotYusta commented Jun 16, 2022

I want to make a command to create a link that redirect to a direct payment.

What we will need:

  • Product Name (The product's name) - required
  • Product Description (The product's description) - required (a text link would be better, create a command to generate a text link.)
  • Payment ID (The payment gateway id that will be used for the transaction) - required
  • Product Type (Any / Hosting / VPS / Service) - required
  • Product Price - required
  • Product Amount - optional (must be 2 or above)
  • Product Capital (The product's capital for the service) - optional (may be required in some cases)
  • Product Expiration (For a service such as hosting or VPS) - optional (may be required in some cases)
  • Expiration Link (Default is 24h) - optional

Command Argument: /transaction create <name> <description> <payment-id> <price> <amount> <type - auto type> <capital> <product-expire> <link-expire>

Make an invoice all of the details have made, and confirm.

The command can only be executed on ticket channels.
If the link is expired and it is not paid yet then they can generate a new link for it, thus they can only regenerate the link every 5 minutes.

@NotYusta NotYusta added the enhancement New feature or request label Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant