Woocommerce still receives IPN and PTD and sends out 2 duplicated order emails
-
Hi,
I’m using stripe for credit cards and the standard paypal gateway with woocommerce.
When a customer pays with stripe everything is fine (= woocommerce sends out one new order to myself and a order complete email to the customer)When the customer pays with paypay the customer gets two ‘oder complete’ emails and I get two ‘new order’ mails as well.
I had IPN and PDT activated. I disabled IPN in woocommerce settings and on paypal’s backend. But I still receive the IPN (and PDT) notification.
I cleared the cache by the way.
Do you have any suggestion?
I disabled PDT and went only with IPN but I had some cases that the customer did not see the download link on the thank you page when she was redirected.
Therefor I decided to use PDT instead of IPN.What am I missing and how can I improve the situation?
Help is very much appreciated.
-
There is a duplicate thread in WooCommerce core:
https://www.ads-software.com/support/topic/woocommerce-still-receives-ipn-and-ptd-and-sends-out-2-duplicated-order-emails/Copying my response and closing that thread, as this forum makes more sense. Please don’t create duplicate threads, it takes up time that could be used answering questions.
—
Using both IPN and PDT will indeed result in two notifications, so possibly two emails. This is a setting on PayPal’s interface – I’d recommend checking with PayPal support to make sure that everything is correctly disabled.
It may also be a problem with site or server caching. If you’re running caching plugins, disable them to test if that fixes the problem. if that doesn’t solve it, I’d ask your host if they have any server-level caching.
Hi Hannah,
thanks for getting back to me.Yes, I contacted paypal’s technical support and they confirmed that IPN was successfully disabled from my paypal account.
I double checked that I had no checkmark in the woocommerce paypal setting Enable IPN as well.I still received two notifications (IPN and PDT) and woocommerce sent out two order confirmation to customers.
But then I scrolled down, saw the API section where it says:
Enter your PayPal API credentials to process refunds via PayPal.and remembered that the paypal support wrote:
your IPN has been set to off (this can be overridden if the API request contains the IPN Url) instead of disable and as WooCommerce in each API request is passing IPN URL details to PayPal and in turn you are receiving IPN notification on completion of transaction.Long story, short. I deleted the API fields and now, finally, I only receive PDT and woocommerce sends out only one email. Great ??
Now I have the problem that I cannot refund properly via the plugin…. did not have to use this anyway until now… but I thought I tell you the whole story… this might be an issue to resolve?
And my last question would be: After deleting those API fields, everything will still work on woocommerce’s side in confunction with paypal? I can leave those fields blank (except for the mentioned refund issue)?
Thanks for helping out.
Warm regards, stay safePaypal’s technical support reached out again and was so kind to tell me that my approach to delete the API fields I mentioned in my previous message above was not what they had in mind.
They clarified:
No the API fields that is mentioned in the screenshot is not the right one , they are just the API credentials which are necessary to make API calls on behalf of you by Woo-commerce, So incase if you have removed then please add them back.The fields or the Parameters that I had mentioned are the API request parameter which is internally set by the Woo-commerce Plugin and are called when a transaction is made.So to make changes to these you will need to contact Woo-commerce support.
They also told me that I was right in choosing PDT instead of IPN so the customer can download the purchased product when he gets redirected.
Can you help me out with what’s going wrong?
Is this a bug that will be fixed with woocommerce updates?
To recap: IPN is turned off (in paypal and the woocommerce plugin)
Why is the woocommerce plugin still sending messages to paypal and can I turn it off somehow?Hey there,
Thanks so much for that additional information!
Before we proceed, I’d like to know more about your site. Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response. You can remove the identifying information such as the site URL if you prefer.That’s very kind of you, thanks.
Can I send you the status report in a more private way?
I’m a little worried about posting this in such a public setting.
I hope this is understandable.Is this possible?
-
This reply was modified 4 years, 10 months ago by
mappel.
Hey there,
These are the public forums, so there isn’t a way to make things private. However, in the case of the system status log, you can remove the identifying information such as the site URL.
OK, thanks again. (Please only suggest to update to v4 if you honestly and surely know that the IPN PTD issue was specifically known and the problem got fixed with the new version;)
### WordPress Environment ### WC Version: 3.9.1 REST API Version: ? 1.0.7 Log Directory Writable: ? WP Version: ? 5.3.2 - There is a newer version of WordPress available (5.4) WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.1.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 128 MB PHP Time Limit: 600 PHP Max Input Vars: 3000 cURL Version: 7.59.0 OpenSSL/1.0.2r SUHOSIN Installed: – MySQL Version: 5.6.40-84.0-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.9.1 WC Database Prefix: wp_ Total Database Size: 32.89MB Database Data Size: 30.11MB Database Index Size: 2.78MB wp_woocommerce_sessions: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_convertkit_user_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_dzsap_activity: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 2.31MB + Index: 0.17MB + Engine InnoDB wp_postmeta: Data: 1.38MB + Index: 0.36MB + Engine InnoDB wp_posts: Data: 23.45MB + Index: 0.36MB + Engine InnoDB wp_redirection_404: Data: 1.52MB + Index: 0.55MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_social_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.13MB + Index: 0.14MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_webarx_cookie: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_webarx_event_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_webarx_file_hashes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_webarx_firewall_log: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_webarx_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_webarx_logic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 390 blocks: 33 customize_changeset: 1 ec_woo_ddb_template: 31 mc4wp-form: 1 nav_menu_item: 22 page: 33 post: 5 product: 21 revision: 1542 scheduled-action: 5 shop_coupon: 9 shop_order: 135 shop_order_refund: 2 woo_discount: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (19) ### Better Font Awesome: by Mickey Kay – 1.7.1 Classic Editor: by WordPress Contributors – 1.5 ConvertKit: by ConvertKit – 1.9.2 DZS ZoomSounds: by Digital Zoom Studio – 5.18 WooMail - WooCommerce Email Customizer: by CidCode – 2.2.11.1 – Not tested with the active version of WooCommerce Enable Media Replace: by ShortPixel – 3.3.11 Redirection: by John Godley – 4.7 GDPR Cookie Consent Banner: by termly – 2.3.15 Upsell Order Bump Offer for WooCommerce: by MakeWebBetter – 1.2.0 – Not tested with the active version of WooCommerce Aelia Foundation Classes for WooCommerce: by Aelia – 2.0.8.190822 – Not tested with the active version of WooCommerce WebARX: by WebARX – 2.0.11 Aelia Currency Switcher for WooCommerce: by Aelia – 4.7.10.190830 – Not tested with the active version of WooCommerce WooCommerce Amazon S3 Storage: by WooCommerce – 2.1.11 – Not tested with the active version of WooCommerce WooCommerce Stripe Gateway: by WooCommerce – 4.3.3 – Not tested with the active version of WooCommerce WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.3.4 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.9.1 – 4.0.1 is available WP Mail SMTP: by WPForms – 1.9.0 WP Rocket: by WP Media – 3.5.2 SEOPress: by SEOPress – 3.8.1.1 ### Inactive Plugins (6) ### Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.3 – Not tested with the active version of WooCommerce Analytify - Google Analytics Dashboard: by Analytify – 2.2.13 Collapse-O-Matic: by twinpictures baden03 – 1.7.11 Duplicator: by Snap Creek – 1.3.28 TinyMCE Advanced: by Andrew Ozz – 5.3.0 Woo Discount Rules: by Flycart Technologies LLP – 1.9.5 – Not tested with the active version of WooCommerce ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### firewall.php: by – ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #223 - /shop/ Cart: #224 - /cart/ Checkout: #225 - /checkout/ My account: #226 - /my-account/ Terms and conditions: #670 - /terms-conditions/ ### Theme ### Name: Flatsome Child Version: 5.88 Author URL: Child Theme: ? Parent Theme Name: Flatsome Parent Theme Version: 3.10.3 Parent Theme Author URL: https://www.uxthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome-child/woocommerce/cart/cart.php flatsome-child/woocommerce/checkout/form-billing.php flatsome-child/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome-child/woocommerce/checkout/form-login.php flatsome/woocommerce/checkout/terms.php flatsome-child/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-product_cat.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome-child/woocommerce/myaccount/dashboard.php flatsome-child/woocommerce/myaccount/downloads.php flatsome-child/woocommerce/myaccount/form-edit-account.php flatsome/woocommerce/myaccount/form-login.php flatsome-child/woocommerce/myaccount/my-address.php flatsome/woocommerce/myaccount/navigation.php flatsome-child/woocommerce/myaccount/orders.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php ### Action Scheduler ### Complete: 5 Oldest: 2020-03-29 18:03:58 +0200 Newest: 2020-04-28 16:07:28 +0200 Pending: 0 Oldest: – Newest: – Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
Hey there,
Thanks for sharing that information!
Okay, so from here, we’d need to look at your specific PayPal configuration as well as logs. That’s not something we can do from the forums.
Can you please contact us at WooCommerce.com > My Account > Tickets. You may need to create an account before you can access that page.
Please also include a link to this forum thread, so that we can keep track of what’s already been done.
From there, we’ll share information on how to share login information for your site so that we can take a closer look.
Hi Hannah,
thanks for keeping in touch and trying to resolve this issue.
The ticket is #2948115.Happy to help! ??
I am having exact same issue. Is there a fix?
Hi mborin,
no unfortunately there isn’t and woocommerce support could not resolve this.Last thing I heard was “If you would like to pursue customization but are not comfortable doing it yourself, you may want to contact someone from our customizations page.”
I can’t tell you how annoying I find this whole issue. Customers getting two of the same ‘order complete’ emails.
If you come across a solution please let me know.
-
This reply was modified 4 years, 10 months ago by
- The topic ‘Woocommerce still receives IPN and PTD and sends out 2 duplicated order emails’ is closed to new replies.