Solved

Woocommerce - web hook for paypal payment received

Posted on 2016-07-15
2
273 Views
Last Modified: 2016-07-18
A client of mine has an online store built in Wordpress / Woocommerce. We need to setup a web hook to notify another system when an an order is complete and payment has been received.

I've successfully setup a web hook for when the order is complete, however this isn't confirmation of when paypal payment is received.

I've tried to search Google, but can't seem to find an answer. How do you setup a web hook when paypal payment has been received?
0
Comment
Question by:SheppardDigital
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
Andrew Angell earned 500 total points
ID: 41713614
Since you're already using WordPress / WooCommerce I would recommend installing the PayPal IPN for WordPress plugin.

This will get you up and running quickly with IPN catch-all solution, and it provides hooks for you to use for triggering your own functions based on the transaction type and/or payment status of a transaction.

For example, you could use the "paypal_ipn_for_wordpress_payment_status_completed" hook to run some code every time a PayPal payment is completed.  You could use different hooks for pending payments, failed payments, etc.

So within your hook functions you can update WordPress / WooCommerce data, hit 3rd party web services, send out customized email notifications, or whatever else you need to automate based on the transaction details.
0
 

Author Comment

by:SheppardDigital
ID: 41716349
Andrew, thanks, that looks like it'll work.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Original post  on Monitis Blog. Web performance monitoring is broken into two camps: passive and active. Passive monitoring is defined as looking at real-world historical performance by monitoring actual log-ins, site hits, clicks, requests for …
The viewer will learn how to dynamically set the form action using jQuery.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question