woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
236 stars 206 forks source link

Fix `payment_fieds` function in Boleto and OXXO #2609

Open cesarcosta99 opened 1 year ago

cesarcosta99 commented 1 year ago

It appears the return value of apply_filters(...) within the payment_fields function in both gateways is not being used. It may need to be the following, instead:

...
$description = apply_filters( 'wc_stripe_description', wp_kses_post( $description ), $this->id );
...

See the WordPress docs on apply_filters() for more information.


Also, in the same function in the OXXO file, we have the div ID stripe-boleto-payment-data which we may want to refactor to stripe-oxxo-payment-data. Noting that we need to be careful about fixing the ID since it may be possible something else is relying on the incorrect ID.

github-actions[bot] commented 1 month ago

Hi, This issue has gone 150 days (5 months) without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest version, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.

github-actions[bot] commented 1 day ago

This issue has gone 180 days (6 months) without any activity.