Skip to content

Commit

Permalink
fix: do not allow stripe on mobile orders for Leo
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbrm committed Feb 2, 2024
1 parent 9993139 commit 696a218
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion services/skus/skus.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ func newCreateOrderReqNewLeo(ppcfg *premiumPaymentProcConfig, item model.OrderIt
SuccessURI: ppcfg.successURI,
CancelURI: ppcfg.cancelURI,
},
PaymentMethods: []string{"stripe"},

Items: []model.OrderItemRequestNew{item},
}
Expand Down
3 changes: 0 additions & 3 deletions services/skus/skus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ func TestNewCreateOrderReqNewLeo(t *testing.T) {
SuccessURI: "https://account.brave.software/account/?intent=provision",
CancelURI: "https://account.brave.software/plans/?intent=checkout",
},
PaymentMethods: []string{"stripe"},

Items: []model.OrderItemRequestNew{
{
Expand Down Expand Up @@ -313,7 +312,6 @@ func TestNewCreateOrderReqNewLeo(t *testing.T) {
SuccessURI: "https://account.bravesoftware.com/account/?intent=provision",
CancelURI: "https://account.bravesoftware.com/plans/?intent=checkout",
},
PaymentMethods: []string{"stripe"},

Items: []model.OrderItemRequestNew{
{
Expand Down Expand Up @@ -349,7 +347,6 @@ func TestNewCreateOrderReqNewLeo(t *testing.T) {
SuccessURI: "https://account.brave.com/account/?intent=provision",
CancelURI: "https://account.brave.com/plans/?intent=checkout",
},
PaymentMethods: []string{"stripe"},

Items: []model.OrderItemRequestNew{
{
Expand Down

0 comments on commit 696a218

Please sign in to comment.