Changeset 3184505
- Timestamp:
- 11/08/2024 02:52:52 PM (17 months ago)
- Location:
- pay-via-barion-for-woocommerce/trunk
- Files:
-
- 5 edited
-
class-wc-gateway-barion.php (modified) (1 diff)
-
includes/class-wc-gateway-barion-ipn-handler.php (modified) (1 diff)
-
includes/settings-barion.php (modified) (1 diff)
-
index.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pay-via-barion-for-woocommerce/trunk/class-wc-gateway-barion.php
r3145670 r3184505 130 130 return $this->order_button_text; 131 131 } 132 public function get_successfull_status() { 133 return $this->settings["order_status"]; 134 } 135 132 136 133 137 public function get_rejected_status() { -
pay-via-barion-for-woocommerce/trunk/includes/class-wc-gateway-barion-ipn-handler.php
r3145670 r3184505 82 82 83 83 if($payment_details->Status == PaymentStatus::Succeeded) { 84 if($order->has_status( 'completed')) {84 if($order->has_status($this->gateway->get_successfull_status())) { 85 85 exit; 86 86 } -
pay-via-barion-for-woocommerce/trunk/includes/settings-barion.php
r3145670 r3184505 52 52 'title' => __('Order status after payment', 'pay-via-barion-for-woocommerce'), 53 53 'type' => 'select', 54 'options' => array( 55 'automatic' => __('Automatic (recommended)', 'pay-via-barion-for-woocommerce'), 56 'completed' => _x('Completed', 'Order status', 'woocommerce'), 57 'processing' => _x('Processing', 'Order status', 'woocommerce'), 58 'pending' => _x('Pending payment', 'Order status', 'woocommerce'), 59 ), 60 'default' => 'automatic', 54 'options' => array_merge(array('automatic' => __('Automatic (recommended)', 'pay-via-barion-for-woocommerce')), array_combine(array_map(fn($key) => str_replace('wc-', '', $key), array_keys(wc_get_order_statuses())), wc_get_order_statuses()) ), 55 'default' => 'automatic', 61 56 'description' => __('Choose the status of the order after successful Barion payment.', 'pay-via-barion-for-woocommerce'), 62 57 'desc_tip' => true, -
pay-via-barion-for-woocommerce/trunk/index.php
r3145670 r3184505 4 4 Plugin URI: http://github.com/szelpe/woocommerce-barion 5 5 Description: Adds the ability to WooCommerce to pay via Barion 6 Version: 3. 76 Version: 3.8 7 7 Author: Aron Ocsvari <ugyfelszolgalat@bitron.hu> 8 8 Author URI: https://bitron.hu … … 11 11 12 12 WC requires at least: 3.0.0 13 WC tested up to: 9. 2.313 WC tested up to: 9.3.3 14 14 15 15 Text Domain: pay-via-barion-for-woocommerce -
pay-via-barion-for-woocommerce/trunk/readme.txt
r3145670 r3184505 3 3 Tags: woocommerce, barion, gateway, payment 4 4 Requires at least: 4.0 5 Tested up to: 6. 55 Tested up to: 6.6.2 6 6 WC requires at least: 3.0.0 7 WC tested up to: 9. 2.37 WC tested up to: 9.3.3 8 8 Requires PHP: 5.6 9 9 Stable tag: trunk … … 89 89 90 90 == Changelog == 91 = 3.8 = 92 - Fixed the successfull order statuses list. 91 93 = 3.7 = 92 94 - Fixed labels on order buttons in checkout blocks;
Note: See TracChangeset
for help on using the changeset viewer.