Skip to content

Commit

Permalink
Merge pull request #283 from two-inc/brtkwr/cet-441-remove-initiate_p…
Browse files Browse the repository at this point in the history
…ayment_to_buyer-from-docs

CET-441/chore: Remove initiate_payment_to_buyers from refund request
  • Loading branch information
brtkwr authored Sep 26, 2024
2 parents 24bf9af + 1b7f12c commit 4e1a466
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bumpver.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpver]
current_version = "2.19.0"
current_version = "2.19.1"
version_pattern = "MAJOR.MINOR.PATCH[-TAGNUM]"
commit_message = "chore: Bump version {old_version} -> {new_version}"
commit = true
Expand Down
1 change: 0 additions & 1 deletion class/WC_Twoinc_Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,6 @@ public static function compose_twoinc_refund($order_refund, $amount, $currency)
$req_body = [
'amount' => strval(WC_Twoinc_Helper::round_amt($amount)),
'currency' => $currency,
'initiate_payment_to_buyer' => true,
'line_items' => WC_Twoinc_Helper::get_line_items($order_refund->get_items(), $order_refund->get_items('shipping'), $order_refund->get_items('fee'), $order_refund)
];

Expand Down
1 change: 0 additions & 1 deletion docker/config-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"show_abt_link": "yes",
"default_to_b2c": "no",
"invoice_fee_to_buyer": "no",
"initiate_payment_to_buyer_on_refund": "yes",
"display_other_payments": "yes",
"fallback_to_another_payment": "yes",
"section_auto_complete_settings": "",
Expand Down
1 change: 0 additions & 1 deletion docker/config-staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"show_abt_link": "yes",
"default_to_b2c": "no",
"invoice_fee_to_buyer": "no",
"initiate_payment_to_buyer_on_refund": "yes",
"display_other_payments": "yes",
"fallback_to_another_payment": "yes",
"section_auto_complete_settings": "",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Tags: payment request, woocommerce
Requires at least: 6
Tested up to: 6.5
Requires PHP: 7
Stable tag: 2.19.0
Stable tag: 2.19.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Two - BNPL for businesses is a WooCommerce plugin that simplifies B2B shopping, allowing merchants to safely offer invoices as a payment method.
Expand Down
2 changes: 1 addition & 1 deletion tillit-payment-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Two - BNPL for businesses
* Plugin URI: https://two.inc
* Description: Integration between WooCommerce and Two
* Version: 2.19.0
* Version: 2.19.1
* Author: Two
* Author URI: https://two.inc
* Text Domain: twoinc-payment-gateway
Expand Down

0 comments on commit 4e1a466

Please sign in to comment.