Reputation: 31
I am trying to display the Woocommerce payment methods, specifically Stripe, on a custom page (not the checkout page). I am building a page where a user can buy a subscription so I need to show the users' saved payment methods and the form to fill his card details if he/she wishes to add a new one. So basically the exact same thing that happens on the checkout page using Stripe but on a custom page.
Is there a way to do that and does Stripe for Woocommerce have the selected functions in order to process the payment afterwards and/or save a new payment method if the user has entered a new one?
Upvotes: 1
Views: 1340
Reputation: 6475
I don't believe there's a way to do this that's built in to the WooCommerce Stripe plugin, but you could do it by writing custom code that retrieves a Customer's Payment Methods (and/or their sources
if you're using those) from the Stripe API and displaying the information how you wish.
Upvotes: 1