mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Add permit multiple tokens so Venmo can work alongside PayPal
This commit is contained in:
parent
0d4fbc4c0b
commit
2167c7c78b
2 changed files with 7 additions and 5 deletions
|
@ -301,7 +301,7 @@ class WcSubscriptionsModule implements ModuleInterface {
|
|||
foreach ( $tokens as $token ) {
|
||||
$output .= '<li>';
|
||||
$output .= sprintf( '<input name="saved_paypal_payment" type="radio" value="%s" style="width:auto;" checked="checked">', $token->get_id() );
|
||||
$output .= sprintf( '<label for="saved_paypal_payment">%s</label>', $token->get_meta( 'email' ) ?? '' );
|
||||
$output .= sprintf( '<label for="saved_paypal_payment">%s / %s</label>', $token->get_type(), $token->get_meta( 'email' ) ?? '' );
|
||||
$output .= '</li>';
|
||||
}
|
||||
$output .= '</ul>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue