liftedinit / ghostcloud-frontend

Frontend for the CosmosSDK-based Ghostcloud Decentralized Web Hosting platform
0 stars 3 forks source link

Payment Processing #10

Open fmorency opened 10 months ago

fmorency commented 10 months ago

As a user, I need reliable and secure payment processing capabilities to facilitate smooth financial transactions within the platform.

Food for thought The path of least resistance to get this feature would be to implement a pre-paid gas credit system. This approach strikes a balance between blockchain integration and user experience simplicity versus other alternatives such as subscription model, relayer service, fiat-to-crypto gateway, internal token economy, and service and fee bundles.

Relates #21

fmorency commented 9 months ago

Pre-Paid Gas Credits

fmorency commented 9 months ago

I implemented NOWPayment support in #31. It uses NOWPayment "Invoice" feature with IPN callback.

The basics work.

fmorency commented 9 months ago

NOWPayment is a crypto payment gateway but they also support Fiat/CC processing.

tl;dr: maximum 1% for crypto-to-crypto. 0.5% if no swap required.

A user goes through KYC and pays for the purchase with fiat.

Partner receives fiat and sends crypto (crypto is sent in the currency in which the user has the first wallet in Store Outcome Wallets).

Process the crypto by crediting to Custody or to the user's wallet (to the first wallet specified in Store Outcome Wallets by default).

CC is processed by one of NOWPayment's partner

Minimum order limit: Minimum 6,5€ - Max 15, 000€ for both daily and monthly