Title: c77m's Replies | WordPress.org

---

# c77m

  [  ](https://wordpress.org/support/users/c77m/)

 *   [Profile](https://wordpress.org/support/users/c77m/)
 *   [Topics Started](https://wordpress.org/support/users/c77m/topics/)
 *   [Replies Created](https://wordpress.org/support/users/c77m/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/c77m/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/c77m/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/c77m/engagements/)
 *   [Favorites](https://wordpress.org/support/users/c77m/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Dropbox: "The request to link the app is invalid."](https://wordpress.org/support/topic/dropbox-the-request-to-link-the-app-is-invalid/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/dropbox-the-request-to-link-the-app-is-invalid/#post-3442120)
 * As an additional note, this problem occurs on a client website hosted on Yahoo
   Small Business hosting. I installed and activated the plugin successfully just
   now on other sites at Bluehost and Dreamhost with no issues.
 * I would not be surprised in the least if this is yet another problem with Yahoo
   hosting, but I’d like to be able to confirm that if not resolve the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/page/2/#post-2753430)
 * Here is the bit of code in paypal.php that appears to cause the transaction to
   change to Failed.. It looks for Paypal to report status of “Completed” or “Refunded”,
   otherwise it fails the transaction. So when PayPal’s IPN said the status was “
   Pending”, eShop failed it.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * If eChecks via PayPal are working for other people, does this mean I have something
   configured incorrectly such that PayPal sends this Pending message when it shouldn’t?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/page/2/#post-2753429)
 * (In the interest of trying to be as productive as possible, I’m playing dumb 
   at this point and will ask some stupid questions… it’s meant to identify where
   things are going wrong, no disrespect intented.)
 * > That and your subsequent emails were from PayPal and have no direct relationship
   > with the ability of your site to communicate with PayPal.
 * The emails originated from my dreamhost server per the headers, and at the bottom
   of each is the text: _Regards, Your friendly automated response._, which seems
   to be coming from eshop/paypal.php line 382:
    `382 $body .= "\n\n".__("Regards,
   Your friendly automated response.",'eshop')."\n\n";`
 * This looks like it is certainly coming from eShop, and contains Paypal transaction
   information – so there must be communication happening somewhere. (The emails
   that originate from paypal are going to our primary paypal email address, which
   configured in eShop Gateways tab but these emails are from the “eShop From email
   address” configured in eShop general settings.)
 * > eShop leaves the order in Pending for up to 4 days – after which time it is
   > moved to Failed
 * Something is triggering the wrong action here, whether it’s something I have 
   misconfigured or something else.. Because after I receive the above email from
   my webserver, the transaction was moved immediately to Failed. Something happened
   within ~60 seconds of Paypal accepting the order that caused it to be marked 
   Failed.
 * I will start looking at the code to see if I can better understand the steps 
   and the order they are taken so I can be more helpful in trying to identify where
   the problem occurs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753427)
 * > Your merchant gateway cannot contact eShop…
 * I believe PayPal contacted eShop fine, but maybe you can help me understand what
   happened with this particular order…
 * The order was entered through eShop on 16-May @ 16:50. One minute later the first
   notification came through and said:
 *     ```
       An instant payment notification was received
   
       from [buyer.email] on 05/16/2012 at 4:51 PM
   
       Details:
       http://the.website/wp-admin/admin.php?page=eshop-orders.php&view=31&eshop
       The transaction was not completed successfully. eShop could not validate the order.The transaction was not completed successfully at Paypal. The pending reason for this is echeck
       ```
   
 * Paypal did process the payment, and the echeck took 4 days to clear. (I was concerned
   about it being marked as Failed instead of Pending, but I didn’t touch the order
   just in case..) When the payment cleared, PayPal appears to have initiated an
   IPN, and eShop sent the following notification:
 *     ```
       An instant payment notification was received
   
       from [buyer.email] on 05/21/2012 at 11:55 PM
   
       Details:
       http://the.website/wp-admin/admin.php?page=eshop-orders.php&view=31&eshop
       The transaction was not completed successfully. eShop could not validate the order.
       ```
   
 * My guess would be that eShop couldn’t validate the order because it was marked
   as failed when the eCheck first went through. But I don’t know the back-end process
   and I’m sure there are other possibilities..
 * What is the expected behavior from eShop when a PayPal IPN reports “payment_status:
   Pending”, as in the first notification?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753425)
 * > [http://quirm.net/wiki/eshop/troubleshooting/invalid-failed-payments/](http://quirm.net/wiki/eshop/troubleshooting/invalid-failed-payments/)
 * This refers to a merchant gateway reporting an invalid or failed payment, which
   is not my problem. (Please note in above posts, Paypal reports SUCCESS.)
 * > [http://quirm.net/wiki/eshop/troubleshooting/transaction-remains-pending/](http://quirm.net/wiki/eshop/troubleshooting/transaction-remains-pending/)
 * This refers to transactions that remain pending. This is not my problem. (Please
   note above posts, after Paypal reports success eShop moves the transactions to
   Failed.)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753423)
 * Can you please tell me how an eShop transaction is successfully processed through
   PayPal, but eShop then says the transaction is “failed”?
 * I’ve provided copious amounts of detail. Please advise.
 * I’m not trying to be an ass.. I’m trying to solve a problem that is NOT resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753421)
 * This is why I clicked the “Support” tab and started asking questions… for support.
 * PayPal is working fine. eShop is not. Can you help me find out why? Or do you
   just want to mark the post “resolved” again without acknowledging there’s a problem
   that may be putting “100,00 users” at risk?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753417)
 * I think you must not have read my posts. The problem isn’t PayPal, the problem
   is when PayPal sends the successful IPN, eShop can’t handle it properly.
 * An IPN that reports **payment_status: Completed** should never cause eShop to
   report **Paypal IPN -A Failed Payment Ref:XXXX**
 * People are relying on eShop for financial transactions. If eShop refuses to acknowledge
   problems that clearly exist, then people should know that eShop doesn’t care 
   about the integrity of transactions.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753410)
 * > And that is exactly what we recommend.
 * It would be awesome to see stock control that works, rather than having to not
   be able to sell everything you might want to sell. Just sayin’… 🙂
 * In a perfect world, when someone adds an item to their shopping cart (limited
   quantity items only), the number of available stock would be reduced by what 
   is in the shopping cart. If the order is not completed in a certain amount of
   time (30 minutes? 60 minutes? 24 hours?), the shopping cart would be emptied 
   and items returned to available stock.
 * It should be easy enough to respond to the IPN saying that it is not a valid 
   transaction if it has passed a set expiration time. (But maybe the incorrectly
   handled eCheck IPNs indicate there is already mishandling of IPNs??)
 * On the other hand, if there isn’t enough demand for accurate handling of transactions,
   then it would just be nice if the features description (“Basic Stock Control”)
   was a little more honest (e.g.: “Partially-working Basic Stock Control”)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[eShop] [Plugin: eShop] Quantity control doesn't work with simultaneous orders](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/)
 *  Thread Starter [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-quantity-control-doesnt-work-with-simultaneous-orders/#post-2753405)
 * > There are a number of possible reasons for this:
 * The customer did complete the transaction (via echeck, which took a few days 
   to clear). Paypal did contact eShop immediately (eShop said it was a failed payment,
   which it wasn’t).
 * There appears to be a fourth possibility that eShop doesn’t properly process 
   Paypal eCheck payments if it’s not an instant payment.
 * The IPN from Paypal is below, which shows that it notified eShop and was successfully
   paid:
 *     ```
       mc_gross: 10.00
       protection_eligibility: Partially Eligible - INR Only
       address_status: unconfirmed
       item_number1: 2012 : Men s Large
       payer_id: [DELETED FOR POSTING]
       tax: 0.00
       address_street: [DELETED FOR POSTING]
       payment_date: 09:51:33 May 16, 2012 PDT
       payment_status: <strong>Completed</strong>
       charset: windows-1252
       address_zip: 67203
       mc_shipping: 0.00
       mc_handling: 0.00
       first_name: [DELETED FOR POSTING]
       mc_fee: 0.52
       address_country_code: US
       address_name: [DELETED FOR POSTING]
       notify_version: 3.4
       echeck_time_processed: 16:55:41 May 21, 2012 PDT
       custom: [DELETED FOR POSTING]
       payer_status: verified
       business: [DELETED FOR POSTING]
       address_country: United States
       num_cart_items: 1
       mc_handling1: 0.00
       address_city: Wichita
       verify_sign: [DELETED FOR POSTING]
       payer_email: [DELETED FOR POSTING]
       mc_shipping1: 0.00
       tax1: 0.00
       txn_id: 27751510V9152191S
       payment_type: echeck
       last_name: [DELETED FOR POSTING]
       address_state: KS
       item_name1: [DELETED FOR POSTING]
       receiver_email: [DELETED FOR POSTING]
       payment_fee: 0.52
       quantity1: 1
       receiver_id: [DELETED FOR POSTING]
       txn_type: cart
       mc_gross_1: 10.00
       mc_currency: USD
       residence_country: US
       transaction_subject: [DELETED FOR POSTING]
       payment_gross: 10.00
       ipn_track_id: [DELETED FOR POSTING]
       ```
   
 * Unfortunately this payment, like several others, went through after we were sold
   out of stock, because eShop allowed the stock to be purchased even though there
   were pending orders for the same items.
 * The only way I can see to avoid the stock quantity problem in the future is to
   tell eShop that we have 5-10% fewer items than we actually have. Otherwise we’ll
   have to keep refunding customers their payments, which is a pain for us and leaves
   us with unhappy customers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [how to add rewrite rules to wp?](https://wordpress.org/support/topic/how-to-add-rewrite-rules-to-wp/)
 *  [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-rewrite-rules-to-wp/#post-629176)
 * Sure would love to see how you resolved this. Did you blog it? If so, where? 
   Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [URL Rewrite for Query in URL](https://wordpress.org/support/topic/url-rewrite-for-query-in-url/)
 *  [c77m](https://wordpress.org/support/users/c77m/)
 * (@c77m)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/url-rewrite-for-query-in-url/#post-652869)
 * mjulson, I don’t know what the actual effect of having everything duplicated 
   in your .htaccess would be, but it sure isn’t necessary.
 * If you figure this out, please let the rest of us know. I’ve been struggling 
   with this myself for some time. Whether it is within the .htaccess rewrite rules
   that it needs to change or if there is something that could be done with a plugin
   or hack, I haven’t been able to figure out. But I sure could use the ability 
   to attach variables to the end of permalinks.

Viewing 12 replies - 1 through 12 (of 12 total)