Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Add 'channel' param to payment requests #56

Merged
merged 2 commits into from
Jan 20, 2017
Merged
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
1 change: 1 addition & 0 deletions app/models/solidus_paypal_braintree/gateway.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def transaction_options(source, options, submit_for_settlement = false)
ALLOWED_BRAINTREE_OPTIONS.include?(key)
end

params[:channel] = "Solidus"
params[:options] = { store_in_vault_on_success: true }

if submit_for_settlement
Expand Down
75 changes: 38 additions & 37 deletions spec/fixtures/cassettes/gateway/authorize.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

151 changes: 76 additions & 75 deletions spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading