Possible to display CC form and keep Apple/Google Pay
-
Dear Stripe Team,
Just wondering if it’s possible to disable the cc form and keep the apple pay functionality. At this time, my presumption is that something like this would suffice:
add_filter(‘woocommerce_available_payment_gateways’, ‘disable_stripe_on_checkout’, 10, 1);
function disable_stripe_on_checkout($gateways) {
if ( is_checkout() || is_checkout_pay_page() ) {
unset( $gateways[‘stripe’] );
}
return $gateways;
}However, not sure if this would cause problems with the Apple Pay functionality.
Thanks,V
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Possible to display CC form and keep Apple/Google Pay’ is closed to new replies.