Hi there @jeremy,
Sorry for the late reply!
> Currently, after all the data has been collected I am creating user (customer) for them and logging them in, creating the order with the gathered information, passing it to the Stripe gateway to “process_order” and then, upon success creating a subscription linked to the order.
Are you trying to integrate our Stripe gateway with your own subscriptions solution? Our plugin doesn’t have any hooks into the Stripe Subscriptions feature (if you’re after it) as described here – https://docs.woocommerce.com/document/stripe/#section-33
It does work with WooCommerce Subscriptions plugin though which is a solution we can recommend instead.
Cheers!
Thank you for responding,
I think the problem originates more around applying a payment method to the transaction. I have all the CC and billing info by the time I get to the end of the “questionnaire” but applying that billing info to the order before submitting it to the Stripe payment gateway eludes me.
If I hard code a successful response in there the order goes through correctly and the subscription is established. Getting an order to the Stripe gateway that includes that CC and billing info is where it falls apart for me. The customer, order totals, and order fees are all being sent though.
Hi there @jemo,
Sounds like you’re trying to create a custom generated order and then pass all that information to the Stripe gateway. Maybe you can take advantage of these hooks – https://docs.woocommerce.com/document/stripe/#section-13?
This is a fairly complex development topic. I’m going to leave this thread open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the following places for more development-oriented questions:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
Thank you ma’am. It feels pretty complex indeed.
Hi @jeremy,
This thread was inactive for a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.