• Resolved lukefive

    (@lukefive)


    Installed WooCommerce and this plugin, and completed the configuration with Stripe. My client offers a product (resumé service) that can be paid for on their site. I need to insert the payment button on one specific page where the service is described.

    (Not only is the Stripe documentation complicated, but the steps seem to require me to enter my personal credit card info. My boss’s credit card is stored in Chrome, but the Stripe docs apparently can’t ‘see’ that.)

    I had hoped I might add the payment button with a shortcode? The docs show JavaScript and imply that it is to be inserted somewhere on the page?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lukefive

    (@lukefive)

    NOTE: Some of the JavsScripts I’ve installed, such as the external script required to be sitewide <script src="https://js.stripe.com/v3/"></script>, the one for the Checkout page, and one for the resume page. Also went ahead and added their suggested CSS.

    Those at least seemed self-evident.

    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @lukefive,

    To clarify here, once you’re using WooCommerce & Stripe you need not then also add any of their code examples to your site. Our Stripe plugin handles all of the payment integration, so what you then need to do is create a product in WooCommerce and then use something like a product block or URL query string to embed the add to cart button for the resumé product in your resumé service page.

    Add To Cart URL block
    Link to image: https://cld.wthms.co/qAfvPZ

    If a block included in WooCommerce doesn’t work out in the page then as my above screenshot shows you can use a URL query to make a button that adds your resumé service product to the customers cart. Below is a great tutorial that explains how to use those URL strings.

    https://businessbloomer.com/woocommerce-custom-add-cart-urls-ultimate-guide/

    Thread Starter lukefive

    (@lukefive)

    @ryanr14 Not only does this resolve my problem, it explains why I kept thinking Stripe’s official documentation was far too complex. Not everyone is building from scratch.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installing payment button on specific page’ is closed to new replies.