News:

Support the VirtueMart project and become a member

Main Menu

Paypal in pending

Started by davix10, September 27, 2019, 16:39:10 PM

Previous topic - Next topic

davix10

Hi everyone, I have a problem with the VM Payment-Paypal.
After payment is made on paypal the status of the order remains pending. How is it possible? even when the payment has been successful and the customer receives a regular confirmation from PayPal.
Successful transactions are set to "accepted".

Can you help me please?

Thanks

StefanSTS

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

davix10

Sorry, my version is VirtueMart 3.6.2 10159

Thanks

GJC Web Design

There are plenty of posts on here about the steps to take to debug this.
I myself have answered many similar questions .. please use the search provided
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

davix10

Please, can you show me a guide?

Thanks

StefanSTS

The guide:
Google: virtuemart paypal documentation
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

GJC Web Design

or google

forum.virtuemart.net: paypal not confirming

forum.virtuemart.net: paypal ipn

etc etc ..  to receive help it is normally expected that you are proactive as well
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

davix10

I tried the sandbox mode and had no problems, the order is confirmed correctly. When I switch on production mode I had the order in "pending".
This is my log:
2019-10-01 08:20:42 DEBUG plgVmConfirmedOrder: order number: 1D2K013
2019-10-01 08:20:42 MESSAGE plgVmConfirmedOrder: Amount/Currency stored 21.1 paymentcurrency 47 orderusercurrency47
2019-10-01 08:22:08 DEBUG plgVmOnPaymentResponseReceived: stdClass Object
(
    [id] => 22
    [virtuemart_order_id] => 24
    [order_number] => 1D2K013
    [virtuemart_paymentmethod_id] => 1
    [payment_name] => <span class="vmCartPaymentLogo" ><img align="middle" src="https://www.otbioelettronica.it/images/virtuemart/payment/paypal_cc.jpg"  alt="paypal_cc" /></span>  <span class="vmpayment_name">Paypal</span>
    [payment_order_total] => 21.10000
    [payment_currency] => 47
    [email_currency] => 47
    [cost_per_transaction] => 0.00
    [cost_percent_total] => 0.00
    [tax_id] => 0
    [paypal_custom] => e41bd8151625d89a4e4687adcb535311
    [paypal_method] => 0
    [paypal_response_mc_gross] => 0.00
    [paypal_response_mc_currency] => 0
    [paypal_response_invoice] => 0
    [paypal_response_protection_eligibility] => 0
    [paypal_response_payer_id] => 0
    [paypal_response_tax] => 0.00
    [paypal_response_payment_date] => 0
    [paypal_response_payment_status] => 0
    [paypal_response_pending_reason] => 0
    [paypal_response_mc_fee] => 0.00
    [paypal_response_payer_email] => 0
    [paypal_response_last_name] => 0
    [paypal_response_first_name] => 0
    [paypal_response_business] => 0
    [paypal_response_receiver_email] => 0
    [paypal_response_transaction_subject] => 0
    [paypal_response_residence_country] => 0
    [paypal_response_txn_id] => 0
    [paypal_response_txn_type] => 0
    [paypal_response_parent_txn_id] => 0
    [paypal_response_case_creation_date] => 0
    [paypal_response_case_id] => 0
    [paypal_response_case_type] => 0
    [paypal_response_reason_code] => 0
    [paypalresponse_raw] => 0
    [paypal_fullresponse] => 0
    [created_on] => 2019-10-01 08:20:42
    [created_by] => 0
    [modified_on] => 2019-10-01 08:20:42
    [modified_by] => 0
    [locked_on] => 0000-00-00 00:00:00
    [locked_by] => 0
)

GJC Web Design

most of the vars in DEBUG plgVmOnPaymentResponseReceived are empty.. why?

Investigate your paypal account IPN responses
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

davix10

How can I do? because I've only seen methods to use debug but that works.

Thanks

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

davix10

#11
Sorry but I don't know where to start to solve this problem and I don't even know what to look for.
I discovered I had ipn notifications disabled on my paypal account.
Problem solved.

Thanks a lot!