Jean Pierre d0b5b873ec
Add invalid billing address notification (#19349)
* Add webhook events

* Properly set AutomaticTax

* Use address element

* 💄

* Update susbcription on address update

* Try scroll modal

* Fix

* try fix modal scroll

* Add toast notification

* Add invalidBillingAddress column to d_b_stripe_customer

* 💄

* 💄

* Fix

* Try fix update

* Address feedback
2024-01-29 11:12:05 +02:00

26 lines
682 B
Go

// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License.AGPL.txt in the project root for license information.
package billingservice
import "context"
type NoOpClient struct{}
func (c *NoOpClient) FinalizeInvoice(ctx context.Context, invoiceId string) error {
return nil
}
func (c *NoOpClient) CancelSubscription(ctx context.Context, subscriptionId string) error {
return nil
}
func (c *NoOpClient) OnChargeDispute(ctx context.Context, disputeID string) error {
return nil
}
func (c *NoOpClient) UpdateCustomerSubscriptionsTaxState(ctx context.Context, customerID string) error {
return nil
}