File To Update Payment Table of Register Page

Hi!

I was wondering if you could tell me which file I can update to change the look of the register page once I get to the payment portion or what would be the best way to go about that basically, because I know updating core files is not the best. Thanks!

Screenshot of what I want to change: http://screencast.com/t/G8UHvWdkh

Screenshot of what it should look like: http://myrebuiltlife.wpengine.com/paypal/ (give or take a couple items, since we are using stripe).

Thanks!

  • Bojan Radonic

    Hey there Julien Kos,

    How are you doing today?

    I'm not exactly sure what are you looking to change, if you just want to change the looks on the first screenshot that should be possible with just some minor changes in CSS as that is something that is located on your site so we could do that quite easily.

    In case that you're looking to change the stripe modal where you're actually inserting payment information (second screenshot) that would require a lot more work as this form is embedded into your site (passed from Stripe side).

    Please let me know which part are you looking to change :slight_smile:

    Cheers,
    Bojan

  • Bojan Radonic

    Hey Julien Kos,

    By the looks of it you want to embed credit card information table into the page that you showed on your screenshot, this table is displayed in that modal I mentioned above. The problem with that is that this table is not part of Membership 2, it's being created with JS and served via Stripe API so making these adjustments will require creating a custom form for Stripe and rewriting parts of that integration, you can find more information here: https://stripe.com/docs/custom-form

    Now if you just want to settle with editing that specific page that you pointed on your screenshot:

    and leaving Stripe information (where you enter CC info) to once you click on that subscribe button for payment than this would be possible by editing templates. File that you're looking for is located in

    /wp-content/plugins/membership-2/app/view/templates/membership_frontend_payment.php

    I wouldn't suggest directly editing that file as it would get overridden in the next plugin update, what you can do is override that template by simply creating "membership2" folder in the root folder of your theme and copying the file there so the end result would be:

    /wp-content/themes/YourTheme/membership2/membership_frontend_payment.php

    Obviously you'll have to replace "YourTheme" with the actual name of the theme that you're using. Once you have that you can edit that template and divs with text and ads as you showed on your screenshot.

    Also if this is not something that you'd be able to do yourself I'd have to suggest posting a job in our job board where you can hire a developer to assist further:
    https://premium.wpmudev.org/wordpress-development/

    Cheers,
    Bojan

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.