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

Handcash - paymentACK errors #3

Open
theflyingcodr opened this issue Feb 26, 2021 · 0 comments
Open

Handcash - paymentACK errors #3

theflyingcodr opened this issue Feb 26, 2021 · 0 comments

Comments

@theflyingcodr
Copy link
Contributor

When using Handcash to submit a payment and the BIP-270 server returns a paymentACK with an error > 1, I would have expected to have seen an error in the app rather than the payment complete. Is this an issue with how handcash are handling the paymentACK message or something missing from the Spec.

In the protocol spec it defines the PaymentACK message as shown: https://github.com/moneybutton/bips/blob/master/bip-0270.mediawiki#paymentack.

error A number indicating why the transaction was not accepted. 0 or undefined indicates no error. A 1 or any other positive integer indicates an error. The errors are left undefined for now; it is recommended only to use "1" and to fill the memo with a textual explanation about why the transaction was not accepted until further numbers are defined and standardized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant