webhooks

Valid BigCommerce auth token triggers 'Authorization Error' getting webhooks?

让人想犯罪 __ 提交于 2019-12-08 04:57:23
问题 I've gone through the two step oAuth process to get a long lived access token. I can validate that the access token is valid by successfully making several API calls with cURL... curl -XGET -H 'X-Auth-Client: xxxxxxxxxxxxxxxxxxx' -H 'X-Auth-Token: xxxxxxxxxxxxxxxxxxx' https://api.bigcommerce.com/stores/xxxxx/v2/products ...returns the store products as expected. Provisioning webhooks returns results as expected. However requesting the list of webhooks: curl -XGET -H 'X-Auth-Client:

Perl Script slow over tom cat 6.0 and generates service time out

纵然是瞬间 提交于 2019-12-08 04:19:06
问题 I am running a perl script on tom cat 6.0 server over windows 2008 R2 to pull from repository. The script becomes very slow because it has to wait for the git pull to complete. This creates a service time out for Github webhook which is actually triggering the script. There is nothing in the code except the following line. exec("C:\\Git\\bin\\git.exe pull") ; How can I improve the script so that the webhook starts working. The following is the error I get at the github webhook. We couldn’t

How do I implement a webhook in Android?

夙愿已清 提交于 2019-12-08 04:00:33
问题 I want to have URL for example www.example.com/status in my Android app to which I will be observing and will be receiving multiple POST requests from the Server. With each POST request, I will trigger a feature. I don't understand how can I implement a listener on a URL 24x7. All I want is a place to start with. If this is not possible then is Push Notifications a viable option? Note: The webhook isn't supposed to be on the Server instead it should be on the Client (Android) and Server is

What is easy way to create and use a Self-Signed Certification for a Telegram Webhook?

半世苍凉 提交于 2019-12-08 03:09:53
问题 System info: Server Win Server 2012 Web Server: IIS 8.5 Project platform: ASP.NET MVC Webhook Path: https://webhook.MYDOMAIN.com/api/webhookaction // I use my domain name instead of MYDOMAIN I used the following way to create a Self-Signed Certification to use for a Telegram Webhook but finally telegram return SSL error to me, do you know an easier way to success? A) I Created a Self Signed Certificate by the following OpenSSL command instead of the Wildcard SSL openssl req -newkey rsa:2048

Jenkins Pipeline job isn't triggered on GitHub push

心已入冬 提交于 2019-12-08 02:03:59
问题 I've created Jenkins Pipline job and want it to be triggered on my GitHub repo push event. I've added repo url to job config and checked "trigger on push option": I've also added GitHub token with needed rights to jenkins configure Github section: In Github repo I've enabled webhook for my Jenkins server: And after all steps still nothing is triggered after push to my GitHub repo. Does anyone have any idea what's going on and why Jenkins doesn't trigger configured pipeline job? 回答1: Solution

Webhook returning 401 in Rails

元气小坏坏 提交于 2019-12-07 23:03:42
问题 I have created a webhook using Fluidsurveys which corresponds to this controller: class HooksController < ApplicationController skip_before_filter :verify_authenticity_token def response_created_callback # If the body contains the score parameter... if params[:_completed].present? # Create a new Response object based on the received parameters... response = FluidsurveysResponse.new(:completed => params[:_completed]) response.invite_email = params[:_invite_email] response.locale = params[:

Nodejs - Expressjs - Verify shopify webhook

☆樱花仙子☆ 提交于 2019-12-07 21:40:04
问题 I am trying to verify the hmac code sent from a shopify webhook on a dev environment. However shopify will not send a post request for a webhook to a non live endpoint, so I am using requestbin to capture the request and then use postman to send it to my local webserver. From shopify documentation, I seem to be doing everything right and have also tried applying the method used in node-shopify-auth verifyWebhookHMAC function. But none of this has worked so far. The codes are never a match.

Disable email notification for WooCommerce manual/edit orders

吃可爱长大的小学妹 提交于 2019-12-07 17:07:29
问题 WooCommerce expertise needed I need to disable email notifications for orders that I create manually, I have to use the processing status, I can't create a custom status because of a custom hook for the processing order status. Ideally a checkbox in the manual order page that could be ticked and when it is ticked it will disable email from sending to the customer at every status. (processing - completed). Reason is that ebay orders have to be entered into the backend orders for database

PHP exec fails when called from a browser but not from CLI

老子叫甜甜 提交于 2019-12-07 12:19:18
问题 I have a simple PHP script: exec('git pull origin master', $shell_output, $output); print_r($shell_output); print_r($output) When I call this via CLI php git.php , it works fine. I get the expected output, and a return value of 0. When I visit the page via a web browser, it fails with a return value of 1. I've set file permissions to 777, and ensured php.ini doesn't block the exec() function. 回答1: The CLI runs with the currently logged in user's (you) credentials and it's most probably

Ngrok not passing my post request on to localhost

人走茶凉 提交于 2019-12-07 06:47:37
问题 I'm trying to set up a webhook for Stripe and I've created a controller, according to the Stripe doc , to do it in ASP.Net MVC running in a virtual machine (maybe that changes things?). I've been testing the action in the controller to see if I can receive posts, so I'm using Postman to send my localhost posts requests which are working. But now I need to use Ngrok to give my localhost a url so that Stripe can use it. I'm running ngrok and passing in these parameters to run ngrok http -host