- 🇺🇸United States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended → as of 5 January 2025. If the issue verifiably applies → to later versions, please reopen with details and update the version.
Seems to be since updating PHP to 7.4 possibly - we are getting two admin order emails sent through on paypal WPS orders (Sagepay ones are fine).
I split out the sagepay and paypal rules and changed the paypal rule to when an order is first paid in full, condition being order balance <=0
This seems to have made no difference.
Is there anything else I can add to the rule to stop the duplication?
Drupal 7.72
commerce 1.5
commerce_paypal 7.2.7
EDIT:
bit more info trying to spot a pattern - doesnt seem to matter if logged in or not.
Since I changed the rule to "first paid in full" it seems to send 2 each time so rolling this back
What I dont know on each order is whether the buyer clicked to go back to the site or not.
DUPLICATE EMAILS SENT
2 x logged in
Status has been set to Pending (previously: Checkout: Complete).
Status has been set to Checkout: Complete (previously: Checkout: Payment).
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
2 x anon
Status has been set to Pending (previously: Checkout: Complete).
Status has been set to Checkout: Complete (previously: Checkout: Payment).
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
3 x logged in
Status has been set to Pending (previously: Checkout: Complete).
Status has been set to Checkout: Complete (previously: Checkout: Payment).
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
2 x anon
Status has been set to Pending (previously: Checkout: Complete).
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
2 x logged in
Status has been set to Pending (previously: Checkout: Complete).
Status has been set to Checkout: Complete (previously: Checkout: Payment).
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
2 x logged in
Status has been set to Pending (previously: Checkout: Complete).
Status has been set to Checkout: Complete (previously: Checkout: Payment).
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
OK ORDERS
logged in
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
logged in
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
anon
Payment of £xx submitted via PayPal WPS.
Order has been paid in full.
Closed: outdated
2.0
PayPal WPS
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended → as of 5 January 2025. If the issue verifiably applies → to later versions, please reopen with details and update the version.