Cannot display Add Payment Method using woocommerce_account_add_payment_method()
-
Hi,
I’m needing to onboard a specific set of users via a link, which gets them to create an account, then add a payment method.
My goal was to display the “Add Payment Method Stripe Form” but when I call that function, all I get is a list of available payment gateways, and no form.
If I inspect the page, see that the div has a style of
display: none;
, when removed, the fields appear with no input boxes, just labels.Is this because it’s not the endpoint
/my-account/add-payment-method/
and
is_add_payment_method_page()
is not true? Is displaying on another page not possible?Any advice would be great!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Cannot display Add Payment Method using woocommerce_account_add_payment_method()’ is closed to new replies.