Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to trigger payment flow for one-time payments?

I have a chrome extension that im looking to monetize with subscription and free trial.

I have followed all the guide detailed here: https://developer.chrome.com/webstore/one_time_payments

Everything works, its all good, just now I need to know how to actually trigger the payment flow when a user decides they want to pay for my extension.

I can see that there is a "buy.js" for in-app purchases but im not sure how you are supposed to do it for one-time payments.

The only way I can see of doing it is by opening a new tab to my chrome store page and then somehow educating the user that they need to press the orange button...

enter image description here

Theres got to be a better way of doing it than that tho, surely??

like image 724
mikeysee Avatar asked Jun 18 '18 23:06

mikeysee


People also ask

How do you make a one-time payment on Stripe?

To include a one-time charge or discount to the first subscription invoice, you can do so by adding an invoice item to the customer before creating the subscription. This can be done using the API or directly in the Stripe Dashboard.

What is payment webhook?

A webhook is an HTTP endpoint that receives events from Stripe. Webhooks allow you to be notified about payment events that happen in the real world outside of your payment flow such as: Successful payments ( payment_intent.

How do I capture payments on Stripe?

Capture the Payment To do so, create an endpoint on your backend that accepts a PaymentIntent ID and sends a request to the Stripe API to capture it. A successful capture call results in a PaymentIntent with a status of succeeded .

Can Stripe take recurring payments?

Stripe Billing is the fastest way for your business to bill customers with subscriptions or invoices. Capture more revenue, support new products or business models, and accept recurring payments globally.


1 Answers

If you want your extension to be paid using Chrome Web Store Payments, you have to follow Chrome Web Store Payments rules, which include fixed price tiers and the fact that payment must be initiated by Chrome Web Store. The in-app purchases work differently.

So yes, your users will have to subscribe using the orange button in your extension's Chrome Web Store entry. Usually they need not to be "educated" to do that: after all, that is the page they installed your extension from, and the orange button was already there.

Depending on which kind of free trial experience you offer, you can display relevant reminders to your users.

For example, if your free trial limits some functionality of the extension, you can prompt the users to subscribe when they try to use one of the premium functions, and/or display a Subscribe button in a visible part of your extension that links to your Chrome Web Store entry.

If your free trial is time-limited, you can display a counter of how many free-trial days your users have remaining, and the Subscribe button mentioned above. When the trial period is over you can automatically alert the users and open the Chrome Web Store entry of your extension. This latter approach (time limited free trial period) is the one I am currently using in my extensions and so far I've had no problems with the users or confusion on their part.

like image 178
Iván Nokonoko Avatar answered Sep 19 '22 14:09

Iván Nokonoko