Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions app/models/cart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ def validate_stock!
end
end

def add_payment_transaction(transaction)
self.class.requestor.custom("relationships/payment_transactions", {request_method: :post}, {id: id, data: [type: "payment_transactions", id: transaction.id.to_s]})
end

def self.create(*args)
if FlexCommerceApi.config.order_test_mode
super({test: true})
Expand Down
2 changes: 1 addition & 1 deletion lib/flex_commerce_api/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module FlexCommerceApi
VERSION = '0.6.25'
VERSION = '0.7.0'
API_VERSION = 'v1'
end