Bitcoin-com / Wallet

MIT License
335 stars 233 forks source link

Implement GoCrypto integration #572

Open matejhocevar opened 5 years ago

matejhocevar commented 5 years ago

GoCrypto integration

We have integrated GoCrypto payments into the Bitcoin.com Wallet.

HOW IT WORKS:

Step 1. On user QR code scan, wallet checks if payload type is GoCrypto. If the payload is not GoCrypto then it continues to Step 3. Step 2. With GoCrypto payload wallet calls GoCrypto's endpoint to get payment details and checks if the payment is valid. Payment details are returned as payload. Step 3. Wallet parses payload and continues to the next screen where payment confirmation is shown. Step 4. When a user approves payment, wallet checks if the payment provider is GoCrypto. If the payment provider is not GoCrypto it continues to Step 6. Step 5. Wallet calls GoCrypto's endpoint to verify if payment is still valid (not cancelled). If payment is still valid it continues to Step 6 else goes back to Step 1. Step 6. Payment is completed.

IMPLEMENTATION NOTES:

maplesyrupsucker commented 5 years ago

Thanks @matejhocevar - our wallet team will review shortly and follow up as soon as possible. Excited to see more point of sales build support with the bitcoin.com wallet. 👍

joel23viky commented 4 years ago

Esta muy bueno me gusta mucho