Payment Options Sort Order

  • This topic has 3 replies, 4 voices, and was last updated 1 year ago by J. Davis.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #946246
    Ryan Labelle
    Participant

    Is there any way to sort the payment options on checkout?

    EG: Have PayPal come before or after an Stripe option?

    Image 2020-04-24 at 1.57.46 PM

    #947259
    Andre Flores
    Moderator

    Hello, Ryan!

    Unfortunately, there is no such option by default, however, you may set the “Default Gateway” option under Accommodation ->Settings ->Payment Gateways to have the desired payment method marked by default while checking out: https://prnt.sc/s6vbmc.

    Regards,
    Andre

    #1435609
    Nicole Paton
    Participant

    Can I please an an upvote to have the ability to reorder payment gateways?

    I tried to reorder the list myself with jQuery but then the stripe credit card fields were in the wrong location (not below the stripe option).

    #1436932
    J. Davis
    Keymaster

    Hi Nicole,

    Thanks for your question. As a workaround, you may try to use CSS to change the order of the payment gateways. e.g.:

    ul.mphb-gateways-list {
    display: flex;
    flex-direction: column;
    }
    
    .mphb-gateway-bank{
    order: 1;
    }
    
    .mphb-gateway-cash{
    order: 2 ;
    }
    
    .mphb-gateway-stripe{
    order: 3;
    }

    best regards,
    John Davis

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.