Author Topic: Paypal in pending  (Read 486 times)

davix10

  • Beginner
  • *
  • Posts: 8
  • A beginner
Paypal in pending
« on: September 27, 2019, 16:39:10 pm »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 517
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Paypal in pending
« Reply #1 on: September 27, 2019, 17:38:45 pm »
--
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

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Paypal in pending
« Reply #2 on: September 30, 2019, 12:21:42 pm »
Sorry, my version is VirtueMart 3.6.2 10159

Thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9196
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Paypal in pending
« Reply #3 on: September 30, 2019, 13:35:36 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

davix10

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Paypal in pending
« Reply #4 on: September 30, 2019, 16:10:07 pm »
Please, can you show me a guide?

Thanks

StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 517
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Paypal in pending
« Reply #5 on: September 30, 2019, 16:20:52 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9196
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Paypal in pending
« Reply #6 on: September 30, 2019, 17:40:55 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

davix10

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Paypal in pending
« Reply #7 on: October 01, 2019, 10:31:33 am »
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:
Code: [Select]
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9196
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Paypal in pending
« Reply #8 on: October 01, 2019, 11:00:02 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

davix10

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Paypal in pending
« Reply #9 on: October 01, 2019, 11:34:34 am »
How can I do? because I've only seen methods to use debug but that works.

Thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9196
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Paypal in pending
« Reply #10 on: October 01, 2019, 12:51:33 pm »
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

davix10

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Paypal in pending
« Reply #11 on: October 01, 2019, 14:05:56 pm »
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!