PaymentContext::get_payment_method_instance()

Retrieve the payment method instance for the current set payment method.


Description Description


Return Return

(AutomatticWooCommerceBlocksPayments{WC_Payment_Gateway|AutomatticWooCommerceBlocksPaymentsnull}) An instance of the payment gateway if it exists.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/Payments/PaymentContext.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.