vitelabs / bounties

The Bounty program is to help the community take part in the development of the Vite ecosystem.
MIT License
9 stars 6 forks source link

VitePay module that allows easy e-commerce payment via Vite network #4

Open gentso09 opened 3 years ago

gentso09 commented 3 years ago

Prize Title

VitePay module that allows easy e-commerce payment via Vite network

Prize Bounty

$2500 in VITE + VITE merch, up to three independent recipients

Challenge Description

The Vite public chain facilitates fast transactions with zero fees, and is naturally well suited for payments. We’d like to have a more robust interface for VITE checkouts that e-commerce platforms can readily adopt. And we are inviting community developers to build it!

The detailed functions we would like to see is as follows:

  1. Generate payment information according to orders received by the merchants. The payment information should include the following:

    • QR Code: the QR code should include the Vite address, payment currency and the payment amount.
    • Memo: It is used to distinguish different orders. Each order should have its own distinct memo.
  2. Scan QR code with the Vite App. After scanning, it redirects the user to the payment page. The App retrieves the Vite address, payment currency and payment amount. On the same page, the user is able to fill in the memo manually and initiate the payment process.

  3. Once the payment process is initiated within the App, VitePay will look up the payment information. If it detects the matching order information (as distinguished by the memo), the screen display shows “Processing”, resulting in one of the following:

    • Payment Successful. This means payment currency, amount and memo match up with the order and the network has achieved 30 confirmations.
    • Payment Failed. This means one or more of the information regarding payment currency, amount or memo does not match up with the order. This will trigger refund back to the original address.
  4. Other scenarios:

    • Time out: if the payment is not completed within 15 minutes, the order will be canceled automatically Payment after order cancelation: if the order is canceled manually or due to time-out, no payments will be facilitated.
  5. The ability to review payment information and track order after payment success. The following is a mockup for the payment page. image

One suggestion for coding the frontend is to use nodejs, although this is not a requirement.

Submission Requirements

Judging Criteria

Winner Announcement Date

Resources

Follow Vite on social media

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 2500.0 USD (2498.75 USD @ $1.0/USD) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 weeks, 2 days from now. Please review their action plans below:

1) dandevel has started work.

Payment gateway using vite.js integration for e-commerce platforms. 2) vaibhavgeek has started work.

Shop using simple QR code using VITE Pay! 3) ztf462666311 has started work.

ztf462666311

Learn more on the Gitcoin Issue Details page.

DanDevel commented 2 years ago

Now download is working, but there's no ./bootstrap inside folder. only gvite inside 'gvite-v2.10.2-darwin.tar.gz' folder. *instalation on mac.