Skip to content

Commit 47e8ce3

Browse files
committed
feat(100-01): disable braintree portal capability
1 parent a75290d commit 47e8ce3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

accrue/lib/accrue/processor/braintree.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ defmodule Accrue.Processor.Braintree do
3434
resume: false
3535
},
3636
invoice: %{lifecycle_webhook_projection: true},
37-
webhook: %{verify: true, parse: true}
37+
webhook: %{verify: true, parse: true},
38+
billing_portal: %{create: false}
3839
}
3940
end
4041

accrue/test/accrue/processor/braintree_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ defmodule Accrue.Processor.BraintreeTest do
253253
assert caps.invoice.lifecycle_webhook_projection == true
254254
assert caps.webhook.verify == true
255255
assert caps.webhook.parse == true
256+
assert get_in(caps, [:billing_portal, :create]) == false
256257

257258
end
258259

0 commit comments

Comments
 (0)