app/helpers/muck_commerce_helper.rb in muck-commerce-0.2.7 vs app/helpers/muck_commerce_helper.rb in muck-commerce-0.2.8
- old
+ new
@@ -1,3 +1,7 @@
module MuckCommerceHelper
+ def extract_cim_transaction_id(transaction)
+ transaction.params['direct_response']['raw'].split(",")[6] rescue 'Not Available'
+ end
+
end
\ No newline at end of file