stripe session
This commit is contained in:
@@ -195,6 +195,14 @@ def subscription_products():
|
||||
response = SubscriptionService.subscription_available_products(data)
|
||||
return response
|
||||
|
||||
#
|
||||
@api.route("/panel/subscription/start", methods=["POST"])
|
||||
def subscription_sessuib_start():
|
||||
data = request.get_json()
|
||||
logger.info(f"Route Subscription Session Start ==>>>> {data}")
|
||||
response = SubscriptionService.subscription_session_start(data)
|
||||
return response
|
||||
|
||||
|
||||
# /panel/myproduct/subscription
|
||||
@api.route("/panel/myproduct/subscription", methods=["POST"])
|
||||
@@ -219,6 +227,12 @@ def myproduct_provision_actions():
|
||||
response = MyProductsService.process_provision_actions(data)
|
||||
return response
|
||||
|
||||
@api.route("/stripe/payments", methods=["POST"])
|
||||
def stripe_payments_webhook():
|
||||
data = request.get_json()
|
||||
logger.info(f"Route Stripe Webhook ==>>>> {data}")
|
||||
# response = MyProductsService.process_provision_actions(data)
|
||||
return []
|
||||
|
||||
|
||||
# /panel/account/calendar
|
||||
|
||||
Reference in New Issue
Block a user