admin管理员组

文章数量:1122846

I'm writing a Paypal Pro woo commerce extension to allow it to accept credit card directly on my websites. When I test things, everything works well. The only thing that I don't get is an email notification.

So I would like to know does my gatway class need to send the receipt email or the internals of the WooCommerece should take care of that for successful order?

I'm writing a Paypal Pro woo commerce extension to allow it to accept credit card directly on my websites. When I test things, everything works well. The only thing that I don't get is an email notification.

So I would like to know does my gatway class need to send the receipt email or the internals of the WooCommerece should take care of that for successful order?

Share Improve this question edited Jan 16, 2012 at 23:22 Roman asked Jan 16, 2012 at 6:36 RomanRoman 6375 silver badges9 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

WooCommerce sends the emails - triggered by the payment_complete method of the order class.

By the way, WC has an official paypal pro extension: http://www.woothemes.com/extension/paypal-pro/ written by myself.

本文标签: plugin developmentIn woocommerce who is responsible for sending the receipt email