swaponline / MultiCurrencyWallet

Bitcoin, Ethereum, ERC20 crypto wallets with 0x and atomic swap exchange.
https://swaponline.github.io
MIT License
486 stars 495 forks source link

Integrate with Transak #4826

Closed VitaliyShulik closed 3 years ago

VitaliyShulik commented 3 years ago

https://transak.com/

Disti4ct commented 3 years ago

if this integration is in the future, then we have to add some TRANSAK packages. Add options for this in the admin panel (user API key, etc.) and if the user has been registered (API-KEY was added in the panel) then show this in our walllet

noxonsu commented 3 years ago

https://www.notion.so/Query-Parameters-9ec523df3b874ec58cef4fa3a906f238

look's like them allow to pass "walletAddress" and "redirectURL" to quiery parameters (iframe etc).

noxonsu commented 3 years ago

The userflow:

  1. client clicks "buy using credit card" on the "deposit" window (or the same button on "exchange" screen)
  2. the app redirects it to https://global.transak.com/ with required query parameters
  3. after user's success purchasing transak redirects users back to the app with payment status
  4. the app check the payment's status and show the "success" or "waiting for payment" window