How does the Stripe payment gateway work for the WP Shopping Cart?
I like to use Stripe for subscriptions but if you want to work it like a shopping cart I would do:
- Check if the Stripe customer exists by retrieving a customer
- If the customer exists then add all the items as a new invoice item
- If the customer does not exist, create the customer then add the invoice item
Just remember that you don't have to have a plan or a subscription for your customer.
Everything that you need to know can be found in the Stripe PHP documentation.
Good luck and happy coding