fix: stipe key issue
This commit is contained in:
@@ -133,7 +133,8 @@ class StripeWebhookTest(APIView):
|
||||
stripe.api_key = settings.STRIPE_SECRET_KEY
|
||||
payload = request.body
|
||||
sig_header = request.META["HTTP_STRIPE_SIGNATURE"]
|
||||
endpoint_secret = "whsec_ccf1f87295603cdd1733995ee2d3c0d6f74c7ceaf28916ea45114a54b7ce1d0f" # Make sure to retrieve this from your settings
|
||||
# This is your Stripe CLI webhook secret for testing your endpoint locally.
|
||||
endpoint_secret = settings.ENDPOINT_SECRET
|
||||
event = None
|
||||
webhook_event = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user