pagseguro / pagseguro-modulo-woocommerce

Módulo de integração para WordPress/WooCommerce
GNU General Public License v3.0
28 stars 26 forks source link

Fix order ID in process_notification #35

Closed zedomel closed 4 years ago

zedomel commented 6 years ago

Fix order ID in process_notification when using any invoice prefix different from 'WC-'. The hard coded 'WC-' as prefix for transaction references (line 264) not work when using a custom invoice prefix. The pull request should avoid this problem.