• Hello,

    Is there anyway I can post the woo-commerce coupon code to PayPal so that it appears in the PayPal order email?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can checkout the PayPal IPN documentation here https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNandPDTVariables/.

    In order to do what you want, you can use the custom field by using an input box like
    <input type="text" name="custom" value="woocommerce-code"></input> and the text in the value field is what will be replaced with the code used.

    Thread Starter woowpdev

    (@woowpdev)

    Thank you Carl,

    Since I was not a code guy, I would ask a silly question further. After I got your answer I did a search with those results and the same thing is everywhere but no one says, in which file these code should be written. I found there is lot files in woo commerce plugin and checked couple of them like (webhook.php, rest.php, and orders.php) but no luck. Is there way you can help me with this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woo commerce Coupon Code posting to Paypal’ is closed to new replies.