WordPress action hook

woocommerce_credit_card_form_end

Defined by WooCommerce and fired by 94 plugins in total, running on 7M+ sites between them.

“Fires after the Clover Elements credit card fields render.”

How to use woocommerce_credit_card_form_end

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_credit_card_form_end', function( $id ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

94 plugins that fire woocommerce_credit_card_form_end

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/gateways/class-wc-payment-gateway-cc.php:92
  2. Nexi XPay icon Nexi XPay7,000+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) src/classes/Nexi/WC_Gateway_XPay_Cards_Build.php:182
  3. PagBank for WooCommerce icon PagBank for WooCommerce4,000+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) src/core/Gateways/CreditCardPaymentGateway.php:702
  4. CHIP for WooCommerce icon CHIP for WooCommerce4,000+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-chip-woocommerce-gateway.php:4211
  5. PagBank / PagSeguro e Vindi para WooCommerce icon PagBank / PagSeguro e Vindi para WooCommerce3,000+ installs do_action( 'woocommerce_credit_card_form_end', Connect::DOMAIN ) src/templates/payments/creditcard.php:110
  6. Pledged Plugins PCI Gateway for NMI and WooCommerce icon Pledged Plugins PCI Gateway for NMI and WooCommerce2,000+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-nmi.php:405
  7. Tilopay icon Tilopay2,000+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/WCTilopay.php:855
  8. Payments via PayMongo for WooCommerce icon Payments via PayMongo for WooCommerce1,000+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) classes/CynderPayMongoGateway.php:269
  9. XL NMI Gateway for WooCommerce icon XL NMI Gateway for WooCommerce800+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-nmi-gateway-woocommerce-base.php:604
  10. YAPE A1 Tiendas icon YAPE A1 Tiendas800+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) pagos-moviles-peru.php:171
  11. Express Checkout via PayPal for WooCommerce icon Express Checkout via PayPal for WooCommerce800+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce-gateway.php:120
  12. CIELO API PIX, credit card, debit payment for WooCommerce icon CIELO API PIX, credit card, debit payment for WooCommerce700+ installs do_action( 'woocommerce_credit_card_form_end', $gateway_id ) includes/templates/lkn-cielo-credit-payment-fields-default-layout.php:163
  13. Clover Payment Gateway by Zaytech for WooCommerce icon Clover Payment Gateway by Zaytech for WooCommerce500+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/woocci_zay_gateway.php:242
  14. Tara360 Gateway icon Tara360 Gateway500+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-tara360.php:246
  15. ONVO Pay icon ONVO Pay400+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-gateway-onvo-pay.php:585
  16. Elavon Payment Gateway for WooCommerce icon Elavon Payment Gateway for WooCommerce300+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) src/ConvergeGateway.php:1779
  17. CoffeeCode icon CoffeeCode300+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) views/partials/checkout/creditcard.php:107
  18. Sola Payment Gateway for WooCommerce icon Sola Payment Gateway for WooCommerce300+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-cardknox.php:209
  19. Walletdoc Payment Gateway for WooCommerce icon Walletdoc Payment Gateway for WooCommerce200+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/common/abstract-wc-walletdoc-payment.php:222
  20. YouCan Pay icon YouCan Pay200+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-youcanpay.php:183
  21. Authorize.Net/eProcessing Network Payment Gateway for WooCommerce icon Authorize.Net/eProcessing Network Payment Gateway for WooCommerce100+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) authorize.net-woocommerce-lightweight-addon.php:338
  22. e-SCOTT Smart light for WooCommerce icon e-SCOTT Smart light for WooCommerce100+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-spfwc-light-payment-gateway.php:490
  23. Wizit Gateway for WooCommerce icon Wizit Gateway for WooCommerce100+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) class-wizit-gateway.php:930
  24. Kuroneko Web Collect for Woo icon Kuroneko Web Collect for Woo100+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-kupaywc-payment-gateway.php:411
  25. pay bi icon pay bi100+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) ebi_pay_classic_gateway.php:264
  26. WaafiPay Payment Gateway icon WaafiPay Payment Gateway100+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/abstracts/abstract-wc-gateway-waafi.php:147
  27. Paymentfor Gateway for WooCommerce icon Paymentfor Gateway for WooCommerce90+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-paymentfor-wc-payment-gateway.php:529
  28. Gain Commerce NMI Payment Gateway for WooCommerce icon Gain Commerce NMI Payment Gateway for WooCommerce90+ installs do_action( 'woocommerce_credit_card_form_end', $apnmi_gateway_id ) template/public/wc-payment-fields.php:114
  29. Complete PayPal Payments For WooCommerce icon Complete PayPal Payments For WooCommerce80+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-complete-paypal-payments-for-woocommerce-gateway.php:116
  30. NMI for WooCommerce icon NMI for WooCommerce70+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/creditcard.php:820
  31. SwiftPay Payment Gateway for WooCommerce icon SwiftPay Payment Gateway for WooCommerce70+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) swiftpay.php:170
  32. MerchantOne Payment Gateway WooCommerce Addon icon MerchantOne Payment Gateway WooCommerce Addon70+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) webmicro-merchantone-woo-addon.php:282
  33. Network Merchant Payment Gateway for WooCommerce icon Network Merchant Payment Gateway for WooCommerce60+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) webmicro-nmi-woo-addon.php:260
  34. Avify icon Avify50+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) avify-payments-gateway.php:356
  35. Payroc Gateway for WooCommerce icon Payroc Gateway for WooCommerce40+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-payroc-gateway.php:683
  36. Worldnet Payments Gateway for WooCommerce icon Worldnet Payments Gateway for WooCommerce40+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-worldnetpayments-gateway.php:683
  37. Beyond Pay for WooCommerce icon Beyond Pay for WooCommerce30+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/wc-beyond-pay-gateway.php:360
  38. Takepayments Mercury Payment Gateway icon Takepayments Mercury Payment Gateway30+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/payment-gateway/takepayments-mercury-gateway.php:186
  39. Bluepay Payment Gateway WooCommerce Addon icon Bluepay Payment Gateway WooCommerce Addon30+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) webmicro-bluepay-woo.php:317
  40. Marketing 360® Payments for WooCommerce icon Marketing 360® Payments for WooCommerce30+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-stripe.php:418
  41. TK Paybill and Till Checkout for M-Pesa icon TK Paybill and Till Checkout for M-Pesa30+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) tk-mpesa-for-woo.php:252
  42. goEmerchant Payment Gateway Plugin for WooCommerce icon goEmerchant Payment Gateway Plugin for WooCommerce30+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-goe.php:966
  43. e-SCOTT Smart pro for WooCommerce icon e-SCOTT Smart pro for WooCommerce20+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-spfwc-payment-gateway.php:566
  44. Evergreen Payments Northwest Gateway For WooCommerce icon Evergreen Payments Northwest Gateway For WooCommerce20+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wceg-gateway.php:443
  45. e2payments-wp Payment for Woocommerce icon e2payments-wp Payment for Woocommerce20+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) woocommerce.php:134
  46. PayPal Payflow Pro Payment gateway for WooCommerce icon PayPal Payflow Pro Payment gateway for WooCommerce20+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) webmicro-payflowpro-woo-addon.php:357
  47. Pagalo icon Pagalo20+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) admin/helpers/class-wc-gateway-pagalo-cuotas.php:267
  48. BulletProof Payment Gateway icon BulletProof Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-bulletproof-payment-gateway-lite.php:703
  49. Poslivo Payment Gateway for Tosla İşim icon Poslivo Payment Gateway for Tosla İşim10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class/class-poslivo-tosla-isim-gateway.php:1564
  50. Rappibank Gateway icon Rappibank Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) view/creditcardform.php:35
  51. MerchantX Gateway for WooCommerce icon MerchantX Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) class/merchantx_gateway.php:336
  52. Younited Pay Payment Gateway icon Younited Pay Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) src/WcYounitedpayGateway.php:625
  53. PayPal Website Payments Pro for WooCommerce icon PayPal Website Payments Pro for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) paypalpro-woocommerce-addon.php:200
  54. Braintree Payment Gateway For WooCommerce icon Braintree Payment Gateway For WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) webmicro-braintree-woo-addon.php:221
  55. RedPay Payment Gateway icon RedPay Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) redpay.php:479
  56. Woo Braintree Payment icon Woo Braintree Payment10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) include/woo-mynix-braintree.php:101
  57. Ecrypt Payment Gateway for WooCommerce icon Ecrypt Payment Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/classes/ecrypt-payment-gateway-method.php:573
  58. Payment Gateway for Nuvei on WooCommerce icon Payment Gateway for Nuvei on WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) wc-nuvei-payment-gateway.php:270
  59. Payment in-Lire Gateway icon Payment in-Lire Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-inlire.php:156
  60. SkySystemz icon SkySystemz10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) SkySystemz-woocommerceCheckout.php:290
  61. Subscreasy Payment Gateway for Woocommerce Subscriptions icon Subscreasy Payment Gateway for Woocommerce Subscriptions10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) class-wc-gateway-subscreasy.php:460
  62. Quikly Payment Gateway icon Quikly Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_end' ) xchange.php:512
  63. 1stPayGateway for WooCommerce icon 1stPayGateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-1stpay.php:966
  64. CoreGateway Payment Gateway icon CoreGateway Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) corepayments-gateway.php:266
  65. OrendaPay icon OrendaPay10+ installs do_action( 'woocommerce_credit_card_form_end', 'orendapay' ) woo-orendapay.php:528
  66. Payments for pagoUno on WooCommerce icon Payments for pagoUno on WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/gateway.php:598
  67. Neopayment icon Neopayment10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) class-neopayment-cc.php:161
  68. NMI Payment Gateway for WooCommerce icon NMI Payment Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/cc.php:1128
  69. Tunl Payment Gateway for WooCommerce icon Tunl Payment Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) class-wc-tunl-gateway.php:315
  70. APPpago icon APPpago10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) templates/form.php:13
  71. LatPay Direct Payment Gateway icon LatPay Direct Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_end', $this->id ) hps-checkout-gateway.php:196
  72. Gateway Wizard with NMI for WooCommerce icon Gateway Wizard with NMI for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $id ) src/Adapters/WooCommerce/Gateway.php:694
  73. Gateway Wizard with Authorize.net for WooCommerce icon Gateway Wizard with Authorize.net for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $id ) src/Adapters/WooCommerce/Gateway.php:694
  74. Goopter advanced integration for PayPal Complete Payments and for WooCommerce icon Goopter advanced integration for PayPal Complete Payments and for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) ppcp-gateway/class-wc-gateway-cc-goopter.php:437
  75. PIX Pay Easy for WooCommerce icon PIX Pay Easy for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-payeasy-boleto.php:291
  76. XEPPT Card Payment Plugin icon XEPPT Card Payment PluginFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-payment-gateway-xeppt.php:200
  77. Cryptochain icon CryptochainFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) cryptochain.php:219
  78. CartGateway Payment Gateway for WooCommerce icon CartGateway Payment Gateway for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/cart_gateway.php:336
  79. OrkestaPay Card icon OrkestaPay CardFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) templates/payment.php:78
  80. Payment Gateway for Expinet and for WooCommerce icon Payment Gateway for Expinet and for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/Gateway/ExpinetGateway.php:297
  81. Payment Gateway through Dalenys icon Payment Gateway through DalenysFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-dalenys-payment-gateway.php:132
  82. AM NMI Gateway for WooCommerce icon AM NMI Gateway for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-am-nmi-creditcard.php:373
  83. Payment Gateway for PhoeniXGate on WooCommerce icon Payment Gateway for PhoeniXGate on WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) public/partials/woo-phxmn-public-display.php:34
  84. Cpay Crypto Payment Gateway for Woocommerce icon Cpay Crypto Payment Gateway for WoocommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) cpg2.2.php:130
  85. Payment Gateway for Billie.io on WooCommerce icon Payment Gateway for Billie.io on WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) wc-billie-io-payment-gateway.php:372
  86. Payments Gateway for Greenlight on WooCommerce icon Payments Gateway for Greenlight on WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) classes/class-wc-greenlight-payments.php:287
  87. PagTur for WooCommerce icon PagTur for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/controllers/WC_PAGTUR_GATEWAY.php:344
  88. CodeElysiumIT Payments Gateway for WooCommerce icon CodeElysiumIT Payments Gateway for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) codeelysiumit-payments-gateway-for-woocommerce.php:198
  89. Payment Gateway for Frubipay icon Payment Gateway for FrubipayFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) template-parts/card-form.php:40
  90. Maakapay Checkout For Woocommerce V2 icon Maakapay Checkout For Woocommerce V2Fewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-maakapay-for-woocommerce-checkout-payment-gateway.php:192
  91. Facture Pay icon Facture PayFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) facture-authorize-woocommerce.php:129
  92. Limopay icon LimopayFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) admin/partials/limopay-admin-display.php:139
  93. Payment in-Lire Gateway 2 Steps Order icon Payment in-Lire Gateway 2 Steps OrderFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) includes/class-wc-gateway-inlire.php:156
  94. Bitcoin Widgets icon Bitcoin WidgetsFewer than 10 installs do_action( 'woocommerce_credit_card_form_end', $this->id ) itez-gateway-wc.php:205

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.