omise / omise-woocommerce

Omise WooCommerce Plugin
https://docs.opn.ooo/woocommerce-plugin
MIT License
47 stars 27 forks source link

Updating deprecated functions in WooCommerce v3 #189

Closed mayurkathale closed 4 years ago

mayurkathale commented 4 years ago

1. Objective

This PR is to remove deprecated functions in WooCommerce Version 3 and up.

image

Related information: Internal Ticket: https://phabricator.omise.co/T23019

2. Description of change

Replaced deprecate function WC_Order::get_order_currency with WC_Order::get_currency in all plugin files.

3. Quality assurance

🔧 Environments:

4. Impact of the change

All payment methods should work normally.

5. Priority of change

Normal

6. Additional Notes

NA