krokedil / paysoncheckout-for-woocommerce

Provides a PaysonCheckout 2.0 payment gateway for WooCommerce.
5 stars 5 forks source link

Add 'type' field into get_shipping function #78

Closed Kristian-Andersson closed 2 years ago

Kristian-Andersson commented 5 years ago

We need to add 'type' as a field in the get_shipping function with value 'service' in order for Payson to know that it is a shipping item.

https://github.com/krokedil/paysoncheckout-for-woocommerce/blob/fec86589bbb9a013ff54a14055c6cb91aa3af15b/classes/requests/helpers/class-paysoncheckout-for-woocommerce-helper-cart.php#L145

Kristian-Andersson commented 5 years ago

Fix here: https://github.com/krokedil/paysoncheckout-for-woocommerce/commit/97149025f6fd20068a8f70f00304b36b246f90da