Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • allie90 2 posts 72 karma points
    May 06, 2020 @ 19:26
    allie90
    0

    Access Stripe API from our application

    Hello, I'm attempting to set up a subscription in Stripe and allow for the stripe checkout buttons to be on our page. I've been following along with thier doc here: https://stripe.com/docs/payments/checkout/subscriptions/starting#web-setup.

    I have a draft/unfinished page set up here on our site with temporary buttons in place: https://www.glseminars.com/insider-subscription/

    I've emailed stripe support the below details too, but this is where I'm at with the steps from their support doc and I'm wondering if now I need assistance from Umbraco.

    1. My product is created along with two payment plans
    2. I believe this is where I’m stuck:

      • My assumption was that stripe would have already been set up for our application since we use stripe for other transactions. But thinking deeper here – I was wrong that set up is different. (can explain if needed)
      • So I have completely missed step 2 – Set up stripe with one of the official libraries.
      • After reviewing the libraries from step 2, I don’t know if it needs to be java or .NET – our application is Umbraco. From what I gathered it was .NET
      • Either way (java or .NET) I don’t quite understand how to install these for access to the Stripe API from our application.
    3. I created a success and cancelled page for the customer checkout

    4. Redirected to checkout - Relates to number 2? I don’t know how to load it to our website.
      • Since the checkout snippet generator begins with line 1 and 2 mentioning js.stripe my next assumption was that that is what I need to load. (Below)

    1 < !-- Load Stripe.js on your website. -->

    2 < script src="https://js.stripe.com/v3">

    How do I complete step 2 and step 4 in Umbraco? Or where do I need to go in Umbraco to complete these steps? would someone be able to assist me with this? If so, would there be an associated fee and what would that be?

    If there is a support forum that I have missed I am happy to ready that :)

    Thank you in advance, Allie Walter

  • Chris Norwood 131 posts 642 karma points
    May 06, 2020 @ 21:19
    Chris Norwood
    0

    Hi Allie,

    Umbraco is a CMS, but it's written in .NET and uses the .NET framework, so that is where you would need to look. If your site is running then .NET is already installed, but code needs to be written to access the Stripe API.

    Did you set up your Umbraco application yourself, or did a developer do it?

    Normally Umbraco is set up so that you can add and edit content yourself, so you would log in to the back office to e.g. add pages, but the type of functionality you're talking about here is a bit more complex and would need specific code writing; normally this sort of code wouldn't be in a web page, but would be created as code that could be called from a web page and then would return a result from Stripe to the web page.

    The instructions for setting up Stripe in the link you've given are aimed at a developer using Visual Studio, which is a Microsoft product for editing code - the instructions there would just install Stripe in the project, but code then needs to be written to talk to Stripe and ensure payment is received etc (step 3 in the link).

    Whether you can install Stripe.js into your page depends on how your Umbraco site has been implemented - very often a developer will give users a place in a page where you can insert javascript, but there are other ways to add it (e.g. by adding it directly to a view file).

    You probably could find a developer to do this for you fairly easily but they would probably charge a fee.

    Hope that helps!

    Chris.

  • Ian Robinson 79 posts 143 karma points
    Jun 06, 2020 @ 12:16
    Ian Robinson
    0

    Hi Allie,

    Chris is right, you will need a .Net and JavaScript developer to complete this for you, unless you have those skills or are willing to take a look at it yourself?

    I've done this type of thing with Umbraco and Stripe before and I keep meaning to write a blog post on it, but never seem to get around to it.

    Let me know if you're still struggling to get this to work and if a blog post might help, and I will finally make the effort to write one. You will need someone with programming experience to complete the work though. If you don't have anyone then (shameless plug) my company might be able to help - www.chilli-is.co.uk

  • allie90 2 posts 72 karma points
    Jun 08, 2020 @ 14:15
    allie90
    0

    Thank you both! My skills are not as fine tuned - yet! I believe or company has a different solution through an additional platform we use to save on the additional cost.

    I appreciate your help! Allie

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies