diff --git a/app/api/integrations/merms_stripe.py b/app/api/integrations/merms_stripe.py index 6af5fdf..83bd414 100644 --- a/app/api/integrations/merms_stripe.py +++ b/app/api/integrations/merms_stripe.py @@ -14,12 +14,18 @@ class StripeIntegration: @staticmethod def create_customer(stripe_customer): logger.info(f"Inside Stripe_Customer ===== : {stripe_customer}") + # customer = stripe.Customer.create( + # email= stripe_customer["email"], + # name=stripe_customer["name"], + # payment_method="pm_card_visa", + # description="Customer for Merms Subscription", + # invoice_settings={"default_payment_method": "pm_card_visa"}, + # ) + # customer = stripe.Customer.create( email= stripe_customer["email"], name=stripe_customer["name"], - payment_method="pm_card_visa", - description="Customer for Merms Subscription", - invoice_settings={"default_payment_method": "pm_card_visa"}, + description="Customer for MERMS Subscription", ) # payment_method="pm_card_visa", # Replace with a valid payment method ID or attach one later return customer