Documentation
¶
Index ¶
- func CheckIfEmailIsBeingUsedInStripe(email string) bool
- func CheckIfIDBeingUsedInStripe(id string) bool
- func GetCustomer(id string) (*stripe.Customer, error)
- func GetFixedBillingCycleAnchor(month int, day int) int64
- func GetFixedBillingFromENV() int64
- func HandleCreatingCustomer(usr database.User, customer_id string) (*stripe.Customer, error)
- func ValidateUserInfoToActivate(customer_id string) (database.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomer ¶
func GetFixedBillingFromENV ¶
func GetFixedBillingFromENV() int64
func HandleCreatingCustomer ¶
if custumer already exists in stripe it does not create a new one and uses the existing one
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.