storj/satellite/payments/stripecoinpayments
Cameron 8842985571 satellite/console/consoleweb: create purchase-package endpoint
Add new purchase-package endpoint to Server. The endpoint can be enabled
or disabled by a new config, --console.pricing-packages-enabled.
The purchase-package endpoint applies a coupon and adds and charges a
credit card if user's useragent is a partner with a configured package
plan.

github issue: https://github.com/storj/storj-private/issues/125

Change-Id: I0d6ccccd6874ddba360c45f338fd1c44f95e135a
2023-02-23 15:42:36 -05:00
..
accounts_test.go satellite/payments/stripecoinpayments: forbid replacing partner coupons 2023-02-03 17:15:01 +00:00
accounts.go satellite/payments/stripecoinpayments: remove usage price overriding 2023-02-23 13:36:59 +00:00
client.go satellite/payments: add Invoices Delete 2023-02-21 17:54:42 +00:00
conversion.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
coupons_test.go satellite/console: ApplyCoupon and ApplyFreeTierCoupon 2023-02-16 10:00:20 -05:00
coupons.go satellite/console: ApplyCoupon and ApplyFreeTierCoupon 2023-02-16 10:00:20 -05:00
creditcards_test.go satellite/console: return card from AddCreditCard 2023-02-21 20:48:15 +00:00
creditcards.go satellite/console: return card from AddCreditCard 2023-02-21 20:48:15 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix mock data-race 2022-08-01 14:30:39 +00:00
customers.go satellite/billing: make stripe invoice generation work with multiregion satellites 2021-05-06 11:51:03 -06:00
db.go satellite/{payments,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +00:00
invoices_test.go satellite/console: add Purchase method to console.Payments 2023-02-21 20:10:42 +00:00
invoices.go satellite/console: add Purchase method to console.Payments 2023-02-21 20:10:42 +00:00
projectrecords_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
projectrecords.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
service_test.go satellite/payments/stripecoinpayments: remove usage price overriding 2023-02-23 13:36:59 +00:00
service.go satellite/payments/stripecoinpayments: remove usage price overriding 2023-02-23 13:36:59 +00:00
stripemock.go satellite/console/consoleweb: create purchase-package endpoint 2023-02-23 15:42:36 -05:00
tokens_test.go satellite/{payments/storjscan,satellitedb}: Add wallet implementation 2022-06-03 11:45:47 +00:00
tokens.go satellite/payments: remove Deposit from Tokens interface 2022-10-17 13:32:06 +02:00
transactions_test.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
transactions.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00