According to post #1739 on this topic, the following code will make PAYPAL the default payment option (Radio-button selected on page load) -:
Code:
<?php
if (empty($_SESSION['payment'])) {
$_SESSION['payment'] = 'paypalwpp';
}
What would I need to edit in order to make SQUARE the default (option selected radio button)?
Customers are not clicking the radio button before inputting card details, and this seems to result in a square payment error. If this radio button is ON by default, then we may be able to aoid such Square errors.
Bookmarks