blockonomics/FileShop

Buyer - Order URL / File Download

blockonomics opened this issue · 1 comments

Order URL / Payment Screen

On clicking on I want this on product page, a page URL with unique order number should be shown. This ensures each order/payment page is unique and buyer can later share this URL to identify his order / bitcoin address details / payment status.

Payment Status / Download

On successful payment the status of payment is updated on the order url and transaction details are shown. Product download link must be shown on the page upon a fixed number of blockchain confirmations. In case of non RBF payments, download link can be shown on zero confirmation. Waiting on the order URL for confirmation is a bad experience for the buyer, so zero confirmation payment method (bitcoin non RBF/BCH) are preferred. Buyer should also be instructed to copy and keep the order URL as losing it may result in losing access to the product (we are not taking buyer email details for privacy purposes)

In regards to:

Order URL / Payment Screen

The previous way of organizing the order/payment page was based around products and sessions. This means that each order was bound to one user and his browser session. There was no way of sharing a URL to someone, so they would get up the same order.

  • Add payment_id/order_id to the URL
  • Track orders based on payment_id/order_id instead of a user's browser session
  • Remove the product portion of the URL to simplify, since the product can be found through the payment object.