From 7293c1309c0534db6c8de031ef15a4a4601f1982 Mon Sep 17 00:00:00 2001 From: Jared Norman Date: Wed, 30 Jan 2019 17:28:41 -0800 Subject: Add support for updating order transactions --- lib/super_good/solidus_taxjar/api.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/super_good/solidus_taxjar') diff --git a/lib/super_good/solidus_taxjar/api.rb b/lib/super_good/solidus_taxjar/api.rb index 301fba4..45a32b7 100644 --- a/lib/super_good/solidus_taxjar/api.rb +++ b/lib/super_good/solidus_taxjar/api.rb @@ -24,6 +24,10 @@ module SuperGood taxjar_client.create_order APIParams.transaction_params(order) end + def update_transaction_for(order) + taxjar_client.update_order APIParams.transaction_params(order) + end + private attr_reader :taxjar_client -- cgit v1.2.3