Skip to content

min send amount in pay-form is hard coded at 0.02 #1071

@sidvishnoi

Description

@sidvishnoi

When sending one-time payments, the minimum sendable amount is hard-coded at 2 units, regardless of connected wallet and wallet addresses on the website.

When sending from MXN to USD, the min sendable amount should be around 0.19MXN. Currently the transactions fail, but the user doesn't know why they failed ("We were unable to process this transaction. Please try again!").

This will go hand-in-hand with #905.

We should set the min in the one-time-pay form to be dependent on current website's minSendAmount value. Relevant files to be updated:

The PaymentManager would need a get minSendAmount(): bigint which returns minSendAmount across all payable sessions

Metadata

Metadata

Assignees

Labels

area: backgroundImprovements or additions to extension background scriptarea: popupImprovements or additions to extension popupbugSomething isn't workinggood first issueGood for newcomers, including for Hacktoberfest.

Type

No fields configured for Bug.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions