WordPress.org

Forums

myCRED
[resolved] Force HTTPS (SSL) for myCred Stripe Addon (6 posts)

  1. PaulMRivera
    Member
    Posted 1 year ago #

    Is there an easy way to force https with the Stripe Addon? The add-on creates a unique url and I haven't figure out how to force https with the stripe payment page.

    Thanks for the help.

    https://wordpress.org/plugins/mycred/

  2. Gabriel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi.

    If you are referring to the "Checkout" page where payments are made, this is done on the same page where you have the buy form but in a closed environment in order to minimize the risk of conflicts with third party plugins or your theme. Basically the buy request is sent to the same page and intercepted by myCRE. Once intercepted and validated, the "Checkout" page is loaded before your theme causing the custom page layout.

    One thing you could do would be to look at the form that myCRED creates when a users selects to buy points and create your own form which then re-directs to a https page.

  3. PaulMRivera
    Member
    Posted 1 year ago #

    Where can I find the form the myCRED creates?

  4. Gabriel
    Member
    Plugin Author

    Posted 1 year ago #

    You can have a look at the mycred-abstract-payment-gateway.php file which is located in mycred/addons/buy-creds/abstracts/.

    You would be using the form_with_redirect function for gateways that redirect to an external processor i.e. PayPal or Skrill.

  5. PaulMRivera
    Member
    Posted 1 year ago #

    Got it to work. Thanks for leading me to that file path.

  6. Gabriel
    Member
    Plugin Author

    Posted 1 year ago #

    Excellent news!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • myCRED
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.