I have a woocommerce site set up with a webhook to a python app I have hosted on heroku.
I can't get the message the woocommerce is sending.
The code is here below:
from flask import Flask, request
app = Flask (__name__)
@app.route('/hook/', methods=['GET','POST'])
def hook():
print(request.get_json())
return "200 OK"
All I need for now is somthing to show up in the heroku log but I get nothing.
You need to store this message in the database or some other place and then read it and show to the user.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments