This topic has 7 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #162118
     singleandsober
    Participant

    Hello,

    I am using the SweetDate theme with Paid Memberships Pro to manage the member levels and subscriptions.

    I recently added the PayPal Express Add-On for PMPro so that users can pay via PayPal:
    https://www.paidmembershipspro.com/add-ons/plus-add-ons/pmpro-add-paypal-express-option-checkout/

    I ran into an issue which the PMPro support team claims is specific to my theme.  Basically, the radio button for the PayPal payment option is not triggering the appropriate `onclick` event within the PMPro add-on’s JavaScript code.

    Here is the response from their representative:

    “Something on the custom checkout page used by your Theme is causing the add-on’s javascript to _not_ recognize its radio button input fields (thus not triggering the “click” event handlers).

    Since this is a theme specific page (and I know they’ve modified the default checkout page and process, I recommend you reach out to your theme developer for additional help).”

    Is there anything specific on the checkout page that you know of which would cause their radio buttons not to function as intended?  Any help or advice you can offer would be greatly appreciated.

    Thank You!

    #162211
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #162455
     Radu
    Moderator

    Hi,

    WE are rewriting some pmpro templates, please give a try to rename this file (this will de-activate our overwrite)

    So, rename this file to checkout.backup : /wp-content/themes/sweetdate/paid-memberships-pro/pages/checkout.php

    And test, the checkbox appears as it should, let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162503
     singleandsober
    Participant

    Hello,

    Thanks for the advice. This did work as far as getting the PayPal radio button to work correctly on the checkout page.

    I have been working in a test environment and I am not ready to make this change on my live site yet because removing your theme template from use has caused the styling on the page to fall back to an undesirable state.

    I am going to wait until your updates are complete before I add PayPal integration for PMPro because I want both the styling and the functionality.

    Do you happen to have an idea as to when we can expect the template to be updated to work with PMPro PayPal Express Add-On?

    Thanks so much!

    #162750
     Radu
    Moderator

    Hi,

    I’m able to check both radio buttons.

    I don’t think the “Security header is not valid” error message it’s caused by our theme cuz there it’s PMpro page and plugin in action.

    Did you have tried to see how it behaves with default wp theme ( tweenty seventeen )?

    Do you have the latest version of WordPress? If not update those

    Do you have the latest version of plugins installed? If not update those

    If you de-activate all plugins it works? if yes enable back plugins one by one to identify what causes this.

    Sincerely I don’t think that can be caused by theme

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162751
     Radu
    Moderator

    https://www.paidmembershipspro.com/security-header-is-not-valid/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162759
     singleandsober
    Participant

    Hi Radu,

    Thanks for your input. I had not seen the “Security Header is not valid” message, but actually this is not the issue with this support request.

    The issue (per your 5/23 comment and my response) is that I have had to rename your checkout template file in order to get the radio button to work. So, yes, it does work but only because I am not using your theme template.

    You had mentioned that you were working on an update so the the PayPal button works when using your checkout page template and I was just inquiring if you had a ballpark date for when this update might be shipped?

    Thanks for your help 🙂

    #163027
     Radu
    Moderator

    Hi,

    In future, we will re-think the templating structure for the pmpro plugin in theme, and for the moment we don’t have a plug and play solution for that, but it should be fine for you to bypass our template using the renaming files method.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?