ChluNetwork / chlu-wallet

Repository for Customer Wallet, Marketplace Checkout and Search Results pages
MIT License
3 stars 2 forks source link

Pay custom PoPR by link with multihash #99

Closed fazo96 closed 6 years ago

fazo96 commented 6 years ago

The /pay URL works just as before

However a new /pay/:multihash URL is now available, the difference is that instead of calling the Marketplace to generate a PoPR, the wallet will load the PoPR from IPFS at the given multihash and use that for the payment and review.

This allows third party applications to link to the wallet and request a specific PoPR to be paid.

How to test

kulpreet commented 6 years ago

Also, should we fix the travis config file to run the tests? Even if there aren't any. Would be nice to seen green.

fazo96 commented 6 years ago

I think there are tests but they are from before the wallet-design refactor so they are useless now anyway. I will clean up a bit