You can now sell redirect urls!

This means, when a customer makes a purchase, instead of taking them to a Flurly download page, you can automatically redirect them to your website for product fufillment. Take a look and give it a try by creating a new product in your flurly dashboard.

Image of Redirect URL

This is a great product option for service work. Many flurly users sell their services (custom illustration, calligraphy, etc) and set their redirect URL to a custom form - google forms, typeform, notion, etc - to collect fufillment information.

Is there a way I can verify a purchase?

Yes. Flurly attached a unique "payment_id" url parameter for each purchase. You can verify that the payment_id is valid and paid by sending a GET request to the following API URL: https://flurly.com/api/verify_redirect/{payment_id}.

As an example let's say you had a redirect url https://mywebsite.com/fufillment

After someone purchases your product they'll be redirected to a url that may look like this https://mywebsite.com/fufillment?payment_id=abcdefg

To verify the purchase you'd want some code that looks as follows

fetch('https://flurly.com/api/verify_redirect/abcdefg')
  .then(r => r.json())
  .then(r => {
    if (r.payment_status === "paid") {
      give_customer_product();
    } else {
      throw_not_paid_error();
    }
  })