Core components for the WordPress payment processing library. This library is used in the WordPress plugin Pronamic Pay: https://www.pronamicpay.com/, but also allows other plugin developers to set up a payment plugin.
The PaymentMethods::CARD payment method results in a bordered box in the gateway test meta box if the method has fields (such as with Mollie, in which case it is showing as an empty box because the field is only supported in WooCommerce):
This is caused by the payment method ID card being added as class, for which WordPress applies styling in the admin:
The
PaymentMethods::CARD
payment method results in a bordered box in the gateway test meta box if the method has fields (such as with Mollie, in which case it is showing as an empty box because the field is only supported in WooCommerce):This is caused by the payment method ID
card
being added as class, for which WordPress applies styling in the admin:https://github.com/pronamic/wp-pay-core/blob/c38da296b71c866d16d89b3273ac27bc0aab72e4/views/meta-box-gateway-test.php#L76-L80