News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

PayPal not setting orders to Confirmed

Started by rhyemedia, May 27, 2020, 03:55:26 AM

Previous topic - Next topic

Jörgen

What are your status in paypal payment configuration to allow ipn updates ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Gingerweb

Quote from: Jörgen on June 06, 2020, 09:09:04 AM
What are your status in paypal payment configuration to allow ipn updates ?

Jörgen @ Kreativ Fotografi

Hi thanks for having a look, see attached screenshot of the config, i have tried lots of options, sandbox and live

GJC Web Design

QuoteI can confirm that the response is 200 though

then this confirms all OK from the paypal end and the reception of the IPN

is the IPN response logged in the  #_virtuemart_payment_plg_paypal table?

Personally I wouldn't use the sandbox  .. just make a 1p product with free shipping as a test
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Gingerweb

Quote from: GJC Web Design on June 06, 2020, 10:01:10 AM
QuoteI can confirm that the response is 200 though

then this confirms all OK from the paypal end and the reception of the IPN

is the IPN response logged in the  #_virtuemart_payment_plg_paypal table?

Personally I wouldn't use the sandbox  .. just make a 1p product with free shipping as a test

Thanks - yes i have done exactly that and there is an entry in that table referencing this 1p sale (it is still "pending")

Jörgen

If You look at order datails is there only ONE DateAdded/ShopperNotified/OrderStatus/Comment entry for each order ?
And this entry sais Pending ?
You should have two entries for a PayPal purchase, Pending and Confirmed.

Turn on PayPal debug and debug to file.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Gingerweb

Quote from: Jörgen on June 06, 2020, 21:31:35 PM
If You look at order datails is there only ONE DateAdded/ShopperNotified/OrderStatus/Comment entry for each order ?
And this entry sais Pending ?
You should have two entries for a PayPal purchase, Pending and Confirmed.

Is this in Orders? There appears to be only one entry for each test order and everything says "pending"

Quote from: Jörgen on June 06, 2020, 21:31:35 PM
Turn on PayPal debug and debug to file.

PayPal request::
Array
(
        [cmd]   ⇒   _ext-enter
        [redirect_cmd]   ⇒   _xclick
        [paymentaction]   ⇒   sale
        [upload]   ⇒   1
        [business]   ⇒   shopemail@domain.co.uk
        [receiver_email]   ⇒   shopemail@domain.co.uk
        [order_number]   ⇒   6DN3021
        [invoice]   ⇒   6DN3021
        [custom]   ⇒   e6c1efc39293032a880513d6823ed60b
        [currency_code]   ⇒   GBP
        [address_override]   ⇒   0
        [first_name]   ⇒   test
        [last_name]   ⇒   test
        [address1]   ⇒   test
        [address2]   ⇒ 
        [zip]   ⇒   test
        [city]   ⇒   test
        [state]   ⇒   EN
        [country]   ⇒   GB
        [email]   ⇒   email@myemail.co.uk
        [night_phone_b]   ⇒   test
        [return]   ⇒   https://foam-o.co.uk/index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=6DN3021&pm=4&Itemid=567
        [notify_url]   ⇒   https://foam-o.co.uk/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=
        [cancel_return]   ⇒   https://foam-o.co.uk/index.php?option=com_virtuemart&view=vmplg&task=pluginUserPaymentCancel&on=6DN3021&pm=4&Itemid=567&lang=
        [rm]   ⇒   2
        [bn]   ⇒   VirtueMart_Cart_PPA
        [no_shipping]   ⇒   0
        [no_note]   ⇒   1
        [image_url]   ⇒   https://foam-o.co.uk/images/stories/virtuemart/vendor/paypal-smaller-logo-foam-o.jpg
        [item_name]   ⇒   Order   Number:   6DN3021
        [amount]   ⇒   0.01
)


url that brought me back to the shop after Paypal payment accepted is :

https://foam-o.co.uk/index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=6DN3021&pm=4&Itemid=567

Order is "pending"  :(

Hope this shows you something useful!!
cheers

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Gingerweb

Quote from: GJC Web Design on June 07, 2020, 11:07:23 AM

just brings up some weird "sitelock" thing.. if I can't reach the site then neither can paypal

FFS im so sorry of course, usually i build these on temp sites where it can be unlocked, this one is a live domain that is locked, i turned it off to test it and it works perfectly!
Thanks John for pointing out my stupidity!

kvo

I have the same response as Gingerweb.
It may have started after the latest update. I updated to Joomla 3.9.19, VM 3.8.4
I also have another shop, using the same settings that was not affected.
I have tried quiet a few fixes, but no change. Still get Pending as the order status.

GJC Web Design

all the information and tests that you need to do are in this thread..  do them and write back here the results...
Because the system works unless there is a problem or misconfiguration of your site .. something, with the information you give, we can do nothing to help...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kvo

I turned on debugs and after placing the order, BEFORE I get to Paypal, the debug shows as below. But the refresh icon keeps spinning and the button that says"The method is in debug mode. Click here to be redirected to PayPal" is not able to be clicked as the page continues to refresh.

GJC Web Design

then switch the debug off and just examine the logging
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kvo

ok thanks, There is nothing in the paypal_response_invoice or paypal_full_response fields...

GJC Web Design

have u read this post?  your paypal IPN history etc? your IPN response url tested?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kvo

Yes, I've been through everything I can think of.  The IPN history shows all since a month ago status as "Retrying".  My IPN HTTP Response Codes for these failed attempts are 403.