developer_guide:developer_guide:webhooks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
developer_guide:developer_guide:webhooks [2012/02/26 02:08] – created mattdeveloper_guide:developer_guide:webhooks [2013/05/07 10:11] – [Onetime Payments Fields] matt
Line 7: Line 7:
 "The concept of a WebHook is simple. A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST." "The concept of a WebHook is simple. A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST."
  
-In other words, a WebHook is a method by which your app can react to events that occur during the Subscription Life cycle (e.g. a new subscription, a recurring payment is declined, a subscription is upgraded, etc.).  For example, your blog or iPhone app can use post-backs to grant customers access to special content, and restrict access to others.+In other words, a WebHook is a method by which your application can react to events that occur during the Subscription Life cycle (e.g. a new subscription, a recurring payment is declined, a subscription is upgraded, etc.).  For example, your blog or iPhone app can use WebHooks to grant customers access to special content, and restrict access to others.
  
 For more information, you can read more at the [[http://wiki.webhooks.org/w/page/13385124/FrontPage|official webhook site]]. For more information, you can read more at the [[http://wiki.webhooks.org/w/page/13385124/FrontPage|official webhook site]].
Line 31: Line 31:
 Unlike Post-backs, a Webhook POST can be received without any complex parsing. Unlike Post-backs, a Webhook POST can be received without any complex parsing.
  
-Since the Webhook is a form POST you can retrieve the values the same way you would any other form on your web site.+Since the Webhook is a form POST you can retrieve the values the same way you would with any other form on your web site.
  
 ===== WebHook POST Fields ===== ===== WebHook POST Fields =====
  
-==== Onetime Payments Fields ==== +^ Name ^ Example ^  
- +| Amount | 44.98 | 
 ===== Testing WebHooks ===== ===== Testing WebHooks =====
  
 We recommend that you use a site, such as [[http://postcatcher.in/|PostCatcher]], to collect the WebHooks. We recommend that you use a site, such as [[http://postcatcher.in/|PostCatcher]], to collect the WebHooks.
developer_guide/developer_guide/webhooks.txt · Last modified: 2013/05/07 10:33 by matt