Best Way To Integrate Stripe And Paypal With Multiple Products

Home Forums Quform WordPress Best Way To Integrate Stripe And Paypal With Multiple Products

This topic is: not resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32298
    digitaljoegeorge
    Participant

    Hello Ally,

    I am following various guides but I need your help please:

    Here is the page I am trying to integrate Stripe and Paypal: https://cubitize.com/upgrade-request-form.

    You can see I have already integrate the Stripe credit card field. I also integrate the Paypal redirect URL when you click submit. The problem is I have two different plans a user can select to upgrade their existing plan: Pro and Elite. Currently, Paypal and Stripe is setup to show the Elite not the Pro plan.

    Here are my questions:

    1. Why doesn’t the Stripe credit card field on this page show the total amount of the Elite plan?
    2. If a user selects either the Pro or Elite plan, how can I show both Paypal and Stripe fields similar to an ecommerce checkout page?
    3. After following the steps here: https://support.themecatcher.net/forums/topic/stripe-additional-create-products, you say in the first part of your response to aaron to add:

    switch ($form->getValue(‘quform_1_3’)) {
    case ‘Product 1’:

    …….

    Where specifically do I add this code? In the quform-stripe.php file under this section: https://prnt.sc/vr60k8?
    4. Where it says… case ‘Product 1’ can I change that to my product name so Elite Plan?

    Thanks Ally for your kind help!

    #32303
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #32304
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #32312
    digitaljoegeorge
    Participant

    Hi Ally,

    Thanks for the reply.

    I tested the Stripe modified code you provided and made a test payment. It went through just fine. However, me being the customer, I didn’t receive an automated invoice email from Stripe.

    I have confirmed with Stripe that my email settings are up to par. Also, my past customers who used the woocommerce Stripe checkout received an automated invoice when they made the first purchase.

    It’s only when a customer using the upgrade request form which calls your custom Stripe code that an automated email isn’t sent.

    Take a look at my Stripe payment history here: https://prnt.sc/vujozj

    Notice the Dec 12th order was made by me but doesnt show anything under Customer field whereas my past real customer, Brian (the one who used woocommerce checkout), has his email displayed.

    You can also verify if an automated email was generated by Stripe when you click on the three dots on the far right > View payment details. When I do this for my customer Brian, notice how his email automatically shows up under Receipt history: https://prnt.sc/vujrsl

    However, no such email exists for me when I placed the order as the customer as of today.

    This makes me think we need to tweak the php code to include this field or an action that tells Stripe to send an automated email to a customer.

    Stripe, does, however, send an automated email to the vendor (which also in this case is me).

    Lastly, under best practices, I should also create a billing address field, right? If so, should it be integrated with the Stripe Javascript Custom Code to capture this data just like the zip code?

    #32320
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy