marinsagovac / woocommerce-tcom-payway

[WORDPRESS] Woocommerce plugin for payment service using PayWay HT payment gateway service
MIT License
26 stars 15 forks source link

receipt_page action not firing #3

Closed filipbudisa closed 6 years ago

filipbudisa commented 8 years ago

On line 466, you define the payment method with the id "WC_TPAYWAY", but on line 57, you add the woocommercereceipt action with the id "TPAYWAY", making the action not fire

marinsagovac commented 8 years ago

But you can find a method that will fire "receipt_page" that find under current class. woocommerce_receipt_TPAYWAY is a tag name. A method is defined in a second argument of add_aciton() function. More info at https://developer.wordpress.org/reference/functions/add_action/#comment-354

marinsagovac commented 6 years ago

Fixed in release 1.1