This PHP code removes the product item name and description from PayPal order purchase details so only the order number and price are displayed.
Note : The code only works with the WooCommerce PayPal Payments plugin. PayPal Standard does NOT include the product/item description with the order details. WooCommerce emails do NOT include the product description. Stripe only includes the order number and price.
Installation
You can install the zip folder as a new plugin or copy & paste the PHP code to the end of your child themes functions file or custom functionality plugin.
PayPal Sandbox Testing – Buyer
Once installed, you can test the solution using sandbox.paypal.com/myaccount/activities/details/ for each buyer purchase.
You must be logged in to post a comment.