I don’t think there is without doing a lot of refactoring of the code (possibly with JavaScript) that displays the payment options. The payment buttons are actually links that either open up a hidden division of the page when payment forms/information can be viewed or send the purchaser to a site like PayPal.com for payment.
That can be done by modifying the gateway’s payment page display. For example, the stripe gateway has this to display its payment button:
<a id="stripe-payment-option-lnk" class="payment-option-lnk display-the-hidden" rel="stripe-payment-option-form" style="cursor:pointer;">
<img alt="Pay using a Credit Card" src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL; ?>gateways/pay-by-credit-card.png">
</a>
The above is taken from stripe_vars.php starting on line 20
The image can be removed and replaced with text. Here is the above example with the image removed and replaced with a text link:
<a id="stripe-payment-option-lnk" class="payment-option-lnk display-the-hidden" rel="stripe-payment-option-form" style="cursor:pointer;">
Pay with your credit card via Stripe Payments
</a>
You can copy over your modified gateway to /wp-content/uploads/espresso/gateways to prevent it from being overwritten on an update. Please note that the gateway will need to maintained manually if and when future versions of Event Espresso make changes to the stock gateway.
The support post ‘Payment buttons’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.