wp-pronamic-pay
wp-pronamic-pay copied to clipboard
Payment method choice `<select>` to `<ul> + <input type="radio">`
In the WordPress admin payment gateway configuration test meta box we let users select the payment method in a <select>
:
In the Pronamic Pay built-in form post type users currently can't choose the desired payment method. In https://github.com/pronamic/wp-pronamic-pay/issues/154 we are working towards support for this.
- https://github.com/pronamic/wp-pronamic-pay/issues/154
To display additional payment method fields we use some JavaScript in payment gateway configuration test meta box. however, we could also arrange this on the basis of HTML and CSS.
https://codepen.io/remcotolsma/pen/rNdPOQE
The display of the payment methods is then more like, for example, Adyen does in the web dropin.
WooCommerce and many other plugins use a similar view:
