Stripe additional create products

Home Forums Quform WordPress Stripe additional create products

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Ally 2 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29829

    aaron1988
    Participant

    Hi,

    So i have followed your stripe integration which works a treat but we have say 3 to 4 products how can i change this piece of code:

    try {
            \Stripe\Charge::create([
                'currency' => 'usd',           
                 'amount' => 2000, 
                 'description' => 'Example product',          
                  'source' => $_POST['stripeToken']
            ]);

    to allow more than one product as i have a product for like: £99, £120, £150, £200

    Thanks
    Aaron

    • This topic was modified 3 months ago by  aaron1988.
    • This topic was modified 3 months ago by  aaron1988.
    #29851

    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 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Be inspired. © 2019 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy