[pmpro_billing] Shortcode Not Working on Other Pages
-
I’m working with Ultimate Member on a website, and I’m wanting to integrate all the Account pages into one place, so I don’t have the various “update info” links on both the Ultimate Member and Paid Memberships Pro pages. I was successful in adding another tab for the Membership Account shortcode to the Ultimate Member profile menu, and then I added a Billing Details tab with the [pmpro_billing] shortcode, but it does not pull in the billing details update form – it only pulls in the shortcode itself.
I am using Stripe as the gateway, and the shortcode successfully pulls in the billing details update form on the /membership-account/membership-billing page.
I’m pulling it into that tab via php in the functions.php page as so:
<?php echo do_shortcode( '[pmpro_billing]' );?>
Is that why it’s not working? I just find it odd since I’m using the same method to pull in the [pmpro_account] shortcode inside that tab.
I also tried just copy / pasting the entire “billing.php” file into that section, which did appear to work, but when I tested actually updating a payment method it didn’t actually save the details.
Is there another way to pull in the update billing details form into that tab?
- The topic ‘[pmpro_billing] Shortcode Not Working on Other Pages’ is closed to new replies.