Order on HOLD
-
Uff, after dealing with that problem
Unfortunately it has been cancelled and refunded.
where i had tu refund about 6 orders from my pocket cause Paypal takes fees from me when he returns money ??
Now i had this problem i was testing again in sandbox and orders are on hold efter every payment, I sell virtual products so i want that buyer gets his product atfter payment not that he needs to wait for me to release it https://prntscr.com/bjg0cz https://prntscr.com/bjg0k1What i need to do so this plugins acts like before after payment it marks order as complete?
https://www.ads-software.com/plugins/paypal-for-woocommerce/
-
Please make sure you’re running the 1.2.2 version that we just pushed out earlier today.
Then look in the settings at the Payment Action option and make sure it’s to Sale, not Auth or Order.
Even if it’s already set to sale, go ahead and click save at the bottom to make sure it “takes”.
Please give that a try and let me know if it resolves the problem.
Everything like you said and i clicked save again
I’ve run test now again and nothing https://prntscr.com/bjg3r1
It’s still on holdEdit: i’ve downloaded plugin again and reuploaded it and tested again, all orders go on hold ??
Do you have logging enabled? Can you please provide a copy of the log so we can see the request to confirm that it’s not getting sent as an Order or an Auth?
06-22-2016 @ 09:28:52 – Start Pay Action
06-22-2016 @ 09:28:52 – …Order ID: 21338
06-22-2016 @ 09:28:52 – …Order Total: 30.00
06-22-2016 @ 09:28:52 – …Cart Total: <span class=”woocommerce-Price-amount amount”><span class=”woocommerce-Price-currencySymbol”>$</span>30.00</span>
06-22-2016 @ 09:28:52 – …Token:EC-7FN40984PP136701E
06-22-2016 @ 09:28:54 – Test Mode: yes
06-22-2016 @ 09:28:54 – Endpoint: https://api-3t.sandbox.paypal.com/nvp
06-22-2016 @ 09:28:54 – Request: Array
(
[USER] => *****
[PWD] => *****
[VERSION] => 124.0
[BUTTONSOURCE] => AngellEYE_SP_WooCommerce
[SIGNATURE] => *****
[METHOD] => DoExpressCheckoutPayment
[TOKEN] => EC-7FN40984PP136701E
[PAYERID] => 8YE9ENJYNFAXC
[RETURNFMFDETAILS] => 1
[PAYMENTREQUEST_0_AMT] => 30.00
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[PAYMENTREQUEST_0_INVNUM] => 21338
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_ITEMAMT] => 30.00
[L_PAYMENTREQUEST_0_NAME0] => Cookie Stream Pack
[L_PAYMENTREQUEST_0_AMT0] => 30
[L_PAYMENTREQUEST_0_QTY0] => 1
)06-22-2016 @ 09:28:54 – Response: Array
(
[TOKEN] => EC-7FN40984PP136701E
[SUCCESSPAGEREDIRECTREQUESTED] => false
[TIMESTAMP] => 2016-06-22T07:28:54Z
[CORRELATIONID] => bf8ebbd3445d3
[ACK] => Success
[VERSION] => 124.0
[BUILD] => 22998660
[INSURANCEOPTIONSELECTED] => false
[SHIPPINGOPTIONISDEFAULT] => false
[PAYMENTINFO_0_TRANSACTIONID] => 5UU20146MA346610W
[PAYMENTINFO_0_TRANSACTIONTYPE] => cart
[PAYMENTINFO_0_PAYMENTTYPE] => instant
[PAYMENTINFO_0_ORDERTIME] => 2016-06-22T07:28:53Z
[PAYMENTINFO_0_AMT] => 30.00
[PAYMENTINFO_0_FEEAMT] => 1.17
[PAYMENTINFO_0_TAXAMT] => 0.00
[PAYMENTINFO_0_CURRENCYCODE] => USD
[PAYMENTINFO_0_PAYMENTSTATUS] => Pending
[PAYMENTINFO_0_PENDINGREASON] => paymentreview
[PAYMENTINFO_0_REASONCODE] => None
[PAYMENTINFO_0_PROTECTIONELIGIBILITY] => Ineligible
[PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE] => None
[PAYMENTINFO_0_SECUREMERCHANTACCOUNTID] => ERWQJG8R5XVJJ
[PAYMENTINFO_0_ERRORCODE] => 0
[PAYMENTINFO_0_ACK] => Success
)06-22-2016 @ 09:28:54 – Transaction 5UU20146MA346610W is OK. Setting: disabled, Response: Ineligible
06-22-2016 @ 09:28:54 – Payment confirmed with PayPal successfullyAh, ok, so I see that it is getting sent as sale, but the transaction itself is coming back as pending due to payment review.
In that sort of scenario the money is not yet in your account, so you wouldn’t want the digital product to be delivered automatically at that point.
What you would want to do is setup an IPN solution that would deliver the goods only when the payment status for an order is “completed”, not “pending”. This would properly handle delivery for orders paid with e-checks that need a few days to clear, orders like this where it’s held up because of review, or any other pending payment.
Let me know if you have any questions about any of that.
everthing was working fine before your last updates ??
And how i setup that IPN solution?
Whoops, I forgot to mention that you can easily setup an IPN solution to handle that using our PayPal IPN for WordPress plugin.
It’s also free, and it allows you to setup an IPN solution in WordPress which then provides hooks so you can trigger your own functions based on transaction type or payment status.
This will allow you to automate the delivery properly based on the payment status, and it will also give you the power to automate all sorts of other things within WordPress based on PayPal transactions, refunds, disputes, etc.
“working” is a relative term, I guess.
I guess it was working for you because you never ran into any problems. Unfortunately, the fact that the system was considering payments when they really weren’t was causing a big problem for others.
The proper way to handle orders in any system like this is to make sure you don’t mark it paid/completed until the payment has actually cleared. Just like depositing a check in your bank account. Until it clears you shouldn’t consider it as actually being there or you could run into problems.
The IPN solution may seem like an additional step that you didn’t need before, but I can assure you it will be more secure and will prevent fraud that could potentially happen in the future.
If that were to happen you’d be yelling at us for allowing digital products to be delivered when the payment was pending. ??
Ok, so do I still need this plugin or jus IPN, also i have domain and subdomain woocommerce but if I set up domain URL listener then how i set up subdomain cause it’s different URL listener, i0m little bit confused now… like so confused
The PayPal for WooCommerce plugin is still necessary to handle the processing of the payments. Instead of tying IPN directly into this plugin, though, (the way that Woo does with the built in PayPal Standard that comes with WooCommerce) we decided to build the separate IPN plugin which is a lot more powerful and can be used for a whole lot more than simply updating WooCommerce.
So you would install that plugin to handle automating delivery of goods, updating your database, sending out custom email notifications, hitting 3rd party web services, or anything else you want to automate when PayPal transactions occur.
If your PayPal account is already configured to point to a different URL then you can setup an IPN forwarder (we provide a premium extension for that) that will forward the IPN data to as many other URLs as you need to.
So to reiterate…
1) PayPal for WooCommerce process the payment and would automatically deliver for you as long as the payment wasn’t pending.
2) PayPal IPN for WordPress to process IPN data and automate tasks based on different IPNs that hit the system.
3) PayPal IPN for WordPress – Forwarder – a Premium extension to the IPN plugin that allows you to forward IPN to as many URLs as you need to.
4) Within your PayPal account you would point IPN to the IPN plugin’s URL.
5) You would then configure the forwarder to send the IPN to the URL you currently have in your PayPal account.
When those steps are all done you’ll have a solid, fully automated, secure system.
Well I didn’t set up IPN cause it’s really comlicated for now to deal with IPN on one paypal and 2 domains, so i left it as it is for now, untill I learn more about it.
But…
I’ve updated plugin with your new update and customer bought something just few minutes ago and order is marked as completed right away so now im not sure what now is everything back as it was or it will be back to order on holdIt may sound like a lot, but it’s really not that complicated. It would take $20 and about 20 min to get everything configured the way I explained.
As I mentioned before, though, this is not an issue at all as long as the original Express Checkout payment comes through with a payment status of “Completed” instead of “Pending”. In that case the money has already been moved to your account and considered a completed transaction, so the WC order is set to Completed and it sends out the emails accordingly.
The only time this will be an issue is if you’re accepting e-checks (which you could disable within your PayPal account if you want to) or if you get pending payments from “payment review”, fraud filters, or anything else like that.
Make sense?
Well i did test on main domain site your IPN and i read all documents how to test IPN listener and i get this
Please check your server that handles PayPal Instant Payment Notification (IPN) messages. Messages sent to the following URL(s) are not being received:
https://……….. (ulr of ipn listener)
If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information.
Once you or your service provider fix this problem, you or your service provider can resend the failed messages from the IPN History page. If this problem continues, PayPal may disable the IPN feature for your account.
Thank you for your prompt attention to this issue.
Thanks,
Can you check the IPN History in your PayPal account to see what result it’s getting? Or check the PHP error logs on your server?
Does any data show up in the PayPal IPN section in your WP admin panel after setting that up?
Also, are you sure you have the URL correct?
I followed everyting as here https://www.angelleye.com/paypal-ipn-wordpress-install-setup-guide/
This is my url that i put in paypal area
https://www.awesomescreenshot.com/0335z0wq97
I’ve tested it with sandbox i don’t get money on sandbox it says this
https://prntscr.com/bk2rlo
Order is on hold again https://prntscr.com/bk2u5i06-23-2016 @ 17:16:38 - IPN paypal_ipn_for_wordpress_ipn_forwarding_handler: Array ( [payment_type] => instant [payment_date] => Thu Jun 23 2016 17:16:10 GMT 0200 (Central European Standard Time) [payment_status] => Completed [address_status] => confirmed [payer_status] => verified [first_name] => John [last_name] => Smith [payer_email] => [email protected] [payer_id] => TESTBUYERID01 [address_name] => John Smith [address_country] => United States [address_country_code] => US [address_zip] => 95131 [address_state] => CA [address_city] => San Jose [address_street] => 123 any street [business] => [email protected] [receiver_email] => [email protected] [receiver_id] => [email protected] [residence_country] => US [item_name1] => something [item_number1] => AK-1234 [tax] => 2.02 [mc_currency] => USD [mc_fee] => 0.44 [mc_gross] => 12.34 [mc_gross_1] => 12.34 [mc_handling] => 2.06 [mc_handling1] => 1.67 [mc_shipping] => 3.02 [mc_shipping1] => 1.02 [txn_type] => cart [txn_id] => 740104194 [notify_version] => 2.1 [custom] => xyz123 [invoice] => abc1234 [test_ipn] => 1 [verify_sign] => AFcWxV21C7fd0v3bYYYRCpSSRl31ACQtlzjAkpKHNC7UELgp6kdstbkD ) 06-23-2016 @ 17:16:38 - Checking IPN response is valid via https://www.sandbox.paypal.com/cgi-bin/webscr... 06-23-2016 @ 17:16:38 - IPN Request: Array ( [body] => Array ( [cmd] => _notify-validate [payment_type] => instant [payment_date] => Thu Jun 23 2016 17:16:10 GMT 0200 (Central European Standard Time) [payment_status] => Completed [address_status] => confirmed [payer_status] => verified [first_name] => John [last_name] => Smith [payer_email] => [email protected] [payer_id] => TESTBUYERID01 [address_name] => John Smith [address_country] => United States [address_country_code] => US [address_zip] => 95131 [address_state] => CA [address_city] => San Jose [address_street] => 123 any street [business] => [email protected] [receiver_email] => [email protected] [receiver_id] => [email protected] [residence_country] => US [item_name1] => something [item_number1] => AK-1234 [tax] => 2.02 [mc_currency] => USD [mc_fee] => 0.44 [mc_gross] => 12.34 [mc_gross_1] => 12.34 [mc_handling] => 2.06 [mc_handling1] => 1.67 [mc_shipping] => 3.02 [mc_shipping1] => 1.02 [txn_type] => cart [txn_id] => 740104194 [notify_version] => 2.1 [custom] => xyz123 [invoice] => abc1234 [test_ipn] => 1 [verify_sign] => AFcWxV21C7fd0v3bYYYRCpSSRl31ACQtlzjAkpKHNC7UELgp6kdstbkD ) [sslverify] => [timeout] => 60 [httpversion] => 1.0.0 [compress] => [decompress] => [user-agent] => paypal-ipn/ ) 06-23-2016 @ 17:16:39 - IPN Response: Array ( [headers] => Array ( [date] => Thu, 23 Jun 2016 15:16:39 GMT [server] => Apache [x-frame-options] => SAMEORIGIN [set-cookie] => Array ( [0] => c9MWDuvPtT9GIMyPc3jwol1VSlO=9sd3PkwWa7M-GdtoYPjJwPXQCnxDoFYkmeVRsF72WdH6xFux6bWpnfR4rtHe1zKyVHGK-uZo2Bp9ywi_jHJvXAP1bO-9n0ahnsSU0WJylvwf5-UO1XvPUssuU7J7fRvSK0pwYfv-qbEELHeTaDZHOSD1gC3UoyqACtrOCW5jE_6peTwUDU6W15wDZ9OC3bkktY1y2Iz3gNTbn-CbJCsBunTRJYPGNkNW1YP9grldNwA2qyv2Wv-AUTF0rp6ujTZnqhEXvP0smqszTCjxf7eoE0xLsLU0Yq1xIXEqEUATgrvr37Tc3HrFvvVTvIl0QMR4LrKaXjsL_5Q7oILAOicAxf5y2zeSivYQ_v8EtoNJ036bwk0mBMz9X80dMOqPDxO80TIexUHI4luQq6GLQU0Vf8FKA6MsugGmkrM24MFDYoRfei54mHrT7Bxq39i; domain=.paypal.com; path=/; Secure; HttpOnly [1] => cookie_check=yes; expires=Sun, 21-Jun-2026 15:16:39 GMT; domain=.paypal.com; path=/; Secure; HttpOnly [2] => navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly [3] => navlns=0.0; expires=Sat, 23-Jun-2018 15:16:39 GMT; domain=.paypal.com; path=/; Secure; HttpOnly [4] => Apache=10.72.108.11.1466694999459972; path=/; expires=Sat, 16-Jun-46 15:16:39 GMT [5] => X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D1880%26app%3Dappdispatcher%26TIME%3D1476225879%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 23 Jun 2016 15:46:39 GMT; domain=.paypal.com; path=/; Secure; HttpOnly [6] => X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT ) [vary] => Accept-Encoding,User-Agent [x-cnection] => close [http_x_pp_az_locator] => sandbox.slc [paypal-debug-id] => 7f7fef586c60f [strict-transport-security] => max-age=14400 [transfer-encoding] => chunked [content-type] => text/html; charset=UTF-8 ) [body] => INVALID [response] => Array ( [code] => 200 [message] => OK ) [cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => c9MWDuvPtT9GIMyPc3jwol1VSlO [value] => 9sd3PkwWa7M-GdtoYPjJwPXQCnxDoFYkmeVRsF72WdH6xFux6bWpnfR4rtHe1zKyVHGK-uZo2Bp9ywi_jHJvXAP1bO-9n0ahnsSU0WJylvwf5-UO1XvPUssuU7J7fRvSK0pwYfv-qbEELHeTaDZHOSD1gC3UoyqACtrOCW5jE_6peTwUDU6W15wDZ9OC3bkktY1y2Iz3gNTbn-CbJCsBunTRJYPGNkNW1YP9grldNwA2qyv2Wv-AUTF0rp6ujTZnqhEXvP0smqszTCjxf7eoE0xLsLU0Yq1xIXEqEUATgrvr37Tc3HrFvvVTvIl0QMR4LrKaXjsL_5Q7oILAOicAxf5y2zeSivYQ_v8EtoNJ036bwk0mBMz9X80dMOqPDxO80TIexUHI4luQq6GLQU0Vf8FKA6MsugGmkrM24MFDYoRfei54mHrT7Bxq39i [expires] => [path] => / [domain] => .paypal.com [secure] => [httponly] => ) [1] => WP_Http_Cookie Object ( [name] => cookie_check [value] => yes [expires] => 1782054999 [path] => / [domain] => .paypal.com [secure] => [httponly] => ) [2] => WP_Http_Cookie Object ( [name] => navcmd [value] => _notify-validate [expires] => [path] => / [domain] => .paypal.com [secure] => [httponly] => ) [3] => WP_Http_Cookie Object ( [name] => navlns [value] => 0.0 [expires] => 1529766999 [path] => / [domain] => .paypal.com [secure] => [httponly] => ) [4] => WP_Http_Cookie Object ( [name] => Apache [value] => 10.72.108.11.1466694999459972 [expires] => 2412774999 [path] => / [domain] => www.sandbox.paypal.com ) [5] => WP_Http_Cookie Object ( [name] => X-PP-SILOVER [value] => name=SANDBOX3.WEB.1&silo_version=1880&app=appdispatcher&TIME=1476225879&HTTP_X_PP_AZ_LOCATOR=sandbox.slc [expires] => 1466696799 [path] => / [domain] => .paypal.com [secure] => [httponly] => ) [6] => WP_Http_Cookie Object ( [name] => X-PP-SILOVER [value] => [expires] => 1 [path] => /cgi-bin/ [domain] => www.sandbox.paypal.com ) ) [filename] => ) 06-23-2016 @ 17:16:39 - Received invalid response from PayPal 06-23-2016 @ 17:16:39 - Payment IPN Array: Array ( [payment_type] => instant [payment_date] => Thu Jun 23 2016 17:16:10 GMT 0200 (Central European Standard Time) [payment_status] => Completed [address_status] => confirmed [payer_status] => verified [first_name] => John [last_name] => Smith [payer_email] => [email protected] [payer_id] => TESTBUYERID01 [address_name] => John Smith [address_country] => United States [address_country_code] => US [address_zip] => 95131 [address_state] => CA [address_city] => San Jose [address_street] => 123 any street [business] => [email protected] [receiver_email] => [email protected] [receiver_id] => [email protected] [residence_country] => US [item_name1] => something [item_number1] => AK-1234 [tax] => 2.02 [mc_currency] => USD [mc_fee] => 0.44 [mc_gross] => 12.34 [mc_gross_1] => 12.34 [mc_handling] => 2.06 [mc_handling1] => 1.67 [mc_shipping] => 3.02 [mc_shipping1] => 1.02 [txn_type] => cart [txn_id] => 740104194 [notify_version] => 2.1 [custom] => xyz123 [invoice] => abc1234 [test_ipn] => 1 [verify_sign] => AFcWxV21C7fd0v3bYYYRCpSSRl31ACQtlzjAkpKHNC7UELgp6kdstbkD ) 06-23-2016 @ 17:16:39 - Payment IPN_status: 06-23-2016 @ 17:16:39 - Payment status: Completed 06-23-2016 @ 17:16:39 - Payment transaction type: cart
No data is shown in admin panel, so now what i'm doing wrong with testing your documents have nothing about testing so maybe im doing it wrong
- The topic ‘Order on HOLD’ is closed to new replies.