Questions about Stripe Settings

Hello dear @Anton L

I am setting up Stripe for a new project I am working on. I have few questions:

1. After creating paid levels in UNA and when setting up Stripe, do we still need to create the same subscription plans in our Stripe account? I don't remember where exactly (I might be confused), but I once read somewhere in the forum that from UNA version 12 or 13 we don't need to do so anymore. Is that true? Please confirm.

2. The 'Configuring Stripe' doc (Wiki: Payments) says: 

'If you plan to sell subscriptions in Market and/or Paid Levels modules then don't forget that you need to create Plans for each subscription. It can be done in your Strip account -> Plans section. Creating a plan you need to use the same price, time frames and trial parameters which you've used during the creation of associated Market product or Paid level in UNA script.'

Problem: There is not any 'Plan' section in Stripe. By 'Plan', do you mean 'Product'? which can be found here:

https://dashboard.stripe.com/products/create

3. The Plan ID (Paid Level Name) is auto-generated in UNA and sometimes with some random numbers. e.g: Premium-Yearly-8742.

Should we copy it to the Product Name field in Stripe exactly as it is in UNA (e.g: Premium-Yearly-8742)?

Because it will be visible to users on the Stripe checkout page, can't we have a more professional and eye-catching Paid Level name like 'Premium Yearly' instead of Premium-Yearly' or 'Premium-Yearly-8742'? 

Stripe account allows you to create a product name with space. e.g 'Monthly Premium Plan', 'Premium Yearly' etc while UNA (Paid Level) doesn't. It doesn't allow spaces and adds random number.

4. In case of a monthly and yearly subscriptions of the same level but with different prices. e.g: 'Premium-Monthly (1-month): $5' and 'Premium-Yearly (1-Year): $50', how do we set them in Stripe?

Do we create two separate Products (Subscriptions) in Stripe? One for 'Premium-Monthly (1-month): $5' and another for 'Premium-Yearly (1-year): $50'?

or can we just create a single product called: 'Premium' but with two different prices and billing periods (Monthly and Yearly)? Stripe allows to add another price for the same product.

5. Where do we add the free trial period on the Stripe Product/Subscription creation page?

There is this "Additional options' > 'add free trial' field, but it says: 

'Legacy: Setting a default trial period per price is no longer recommended and is incompatible with Checkout and quotes. Free trials can be set per subscription or quote instead.'

As you can see, the 'free trial' is no longer been supported on this page and it doesn't work if entered from this field. Any workaround?

6. Are we also required to create a product in Stripe (One-time payment) if we also sell Credits and any other products or services in UNA from a third-party module that accepts payments?

Thanks in advance for helping.

Regards

  • 164
  • More
Replies (6)
    • @OneEagle hello my friend, after my last battle with stripe, I'm a master.

      For one off payments, nothing needs configured. If using anything before UNA 14.0.0-B1 you must apply the fix I posted in forum to stripe3d class to stop UNA from choking. My fix was added to B1.

      For reoccurring payments, it doesn't matter what UNA assigns there in system title. You must create a product and use what stripe assigns there. It won't be pretty. Be sure details are the same so it doesn't confuse people.

      I've been testing and works in UNA 14.0.0-B1.

      • Let me be clear about reoccurring.

        Setup product. Name it the same as your product title. So say you are selling "Premium Membership"

        Create stripe product "Premium Membership"

        In stripe, add price.

        Set it up to match your reoccurring payment needs.

        It will generate a price_xxxxxxxxxxxx ID. Copy this into the system title used for back end in UNA.

        Will work perfectly.

        • Hello

          1. Product with Price on Stript end is needed for Subscriptions only. If you sell Credits or something in Market (with One-Time price) then you don't need to create Products on Stripe end.

          2. You can use user friendly names in Stripe products. Unique autogenerated names with dashes and numbers (like Premium-Yearly-8742) should be used as 'API ID' when you are creating a Price for your Product. This field is needed to do API calls in backend and isn't visible to common buyers.

          3. If you have different prices (monthly and yearly) for some Paid Level on UNA you may have one Product in Stripe and 2 Prices in it. Each price will have its own 'API ID' connected to autogenerated name in UNA (Premium-Monthly, Premium-Yearly).

          • Hello to y'all.

            Thanks so much for your replies. They have helped me a lot.

            I was so confused and the documentation about Stripe settings here on UNA didn't help either. It is outdated and confusing. It definitely needs to be updated.

            @Wise, Thanks a lot mate! Your explanation on the Pricing ID was crucial. I was pulling my hair out trying to figure out how to add the UNA autogenerated Paid Level name to the Pricing ID field on Stripe while it's actually the opposite. It's the autogenerated Pricing ID (API ID) on Stripe that should be copy to the Paid Level name field in UNA.

            About your fix for Stripe 3D secure, I am using the Standard Stripe, not the Stripe with 3D Secure as it doesn't allow to use recurring payments with trial period. I Will be offering a trial period in my new project. So, probably for now, i won't need to apply your fix.

            @Anton L, Thanks a lot for clarifying things. Yes, that was confusing me. I thought that the unique auto-generated name with dashes and numbers (like Premium-Yearly-8742) was visible to common buyers.

            By the way, you forgot to answer my question #6: Where do we add the free trial period on the product page (on Stripe)? It's no longer supported. Stripe says: 'Legacy - Setting a default trial period per price is no longer recommended and is incompatible with Checkout.'

            Thanks

            • By the way, you forgot to answer my question #6: Where do we add the free trial period on the product page (on Stripe)? It's no longer supported. Stripe says: 'Legacy - Setting a default trial period per price is no longer recommended and is incompatible with Checkout.'
              Thanks

              Hello @Anton L Any idea on this one? Thanks

              • Hello. I just rechecked Product and Price creation in Stripe end and cannot see this possibility too. Unfortunately, if they doesn't support this feature anymore we can do nothing.

                Login or Join to comment.