Author Topic: Pending order Not receving any email  (Read 9714 times)

virtucms

  • Beginner
  • *
  • Posts: 4
Pending order Not receving any email
« on: December 21, 2013, 00:01:15 am »
Hello,

I am having problem with notification.

What I would like to accomplish is when a user make an order, I will like to receive an email saying that there is an order pending.
I did a lot of research and tried many things, but so far nothing is working.  :-\ :'(

I added Pending status in Default order status in Control Panel/ Checkout... but same thing

I do receive an email when order is completed or cancel.. but not when it is pending ... so the phpmail is working well (I guess)

I am using Virtuemart 2.0.26  and Joomal 2.5.16
My payment method is only one Paypal

Any guide or help will be really apprecicate

[attachment cleanup by admin]

virtucms

  • Beginner
  • *
  • Posts: 4
Re: Pending order Not receving any email
« Reply #1 on: January 10, 2014, 04:49:28 am »
*** Bump ***

Guess there is no hope for me. It was my first question and never receive any answer :( :'(

Recently, I just update the Virutemart to recent version and Joomla to 2.5.17 and still same things

James91

  • Beginner
  • *
  • Posts: 4
Re: Pending order Not receving any email
« Reply #2 on: January 10, 2014, 16:29:19 pm »
Same problem here ... I'm using Virtuemart 2.0.26a

I probably found out what's the reason for this problem.

On every order initially there are set 2 order states (both on the old VM version 2.0.14 which works perfect and on the new VM version 2.0.26a).
VM 2.0.14: When a customer makes an order both order states were set to "pending" (order_status_code: P)
VM 2.0.26a:
When a customer makes an order one order status is set to "pending" (order_status_code: P)
and the other order status is set to "pending" when you look at the order list, but if you click on an order you see that the order status is set to "COM_VIRTUEMART_UNKNOWN_ORDER_STATUS" (in the database you will find the order_status_code: 1)

If I manually set the order status to "pending" both the customer and me receive an notofication e-mail of the order.

Does anybody know whether this bug is fixed in VM 2.0.26d ?

eag

  • Beginner
  • *
  • Posts: 29
Re: Pending order Not receving any email
« Reply #3 on: January 11, 2014, 00:01:02 am »
To me happens same thing.

I have several payment methods including Paypal and bank transfer, when a user makes a purchase and select any payment method at the time of ordering and is marked as "pending", the system does not send any mail or the user, not the shop owner.
Only at the time of payment, if you have chosen a payment method that allows it, and return to the store marking the order as "canceled" or "confirmed", the system sends the mail.

In my case, in the database, the order_status_code, is correct, 'P'.

any idea to solve it?

thanks in advance

VM 2.0.26d
Joomla 2.5.17

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: Pending order Not receving any email
« Reply #4 on: January 11, 2014, 16:02:11 pm »
Hello
If you are not receiving an email it may be because there is a fatal error when receiving the IPN.
Check your server error logs.

James91

  • Beginner
  • *
  • Posts: 4
Re: Pending order Not receving any email
« Reply #5 on: January 12, 2014, 05:46:52 am »
I updated VM to version 2.0.26d but it still not worked ...
But then I deleted all my payment methods and created them new and now it works  ;D

jcalvert

  • Beginner
  • *
  • Posts: 16
Re: Pending order Not receving any email
« Reply #6 on: January 13, 2014, 08:08:11 am »
I am also having these problems w/ PayPal on VM 2.0.26a.

I examined the code very carefully and found that the notification emails are not being sent in the case of Pending orders.  But this appears only true for PayPal Standard.

Please see my postings:
http://forum.virtuemart.net/index.php?topic=120985.msg414531#msg414531
http://forum.virtuemart.net/index.php?topic=101478.msg414526#msg414526

thanks,
JC

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net

eag

  • Beginner
  • *
  • Posts: 29
Re: Pending order Not receving any email
« Reply #8 on: January 13, 2014, 17:28:58 pm »
Hi alatak
my VM version is 2.0.26d, no with your link, with update link http://virtuemart.net/component/ars/repository/virtuemart/virtuemart-2-0-26d/comvirtuemart-2-0-26d-zip and AIO http://virtuemart.net/component/ars/repository/virtuemart-2-aio/virtuemart-2-aio-2-0-26d/comvirtuemart-2-0-26dextaio-zip

Trying like James91,
I delete all my payments methods, and create new Paypal, and the checkout proccess stoped, and ask again and again, to select the payment method.
If I create another, "standard" for example, the checkout proccess work correctly, but I still do not receive the mail informing Order, when Pending.
If I finish OK the paypal pay, the return is correct, the order is marked as confirmed and mail is received with the order.
If I finish KO, cancel in paypal, the return is correct, the order is marked as cancelled and no mail is received with the order.

James91

  • Beginner
  • *
  • Posts: 4
Re: Pending order Not receving any email
« Reply #9 on: January 13, 2014, 19:07:00 pm »
I had the same problem that VM always asked for the payment method even when I clicked it. It only worked when I didn't activate the one page checkout in the virtuemart shop configuration ... but since I'm not using the standard checkout anymore but rather a checkout component I don't need to bother with this bug.

terjef

  • Beginner
  • *
  • Posts: 10
  • Skype Name: terjeflat
Re: Pending order Not receving any email
« Reply #10 on: January 13, 2014, 21:14:43 pm »
I also get kicked back to shipment everytime i want to confirm the order.

Back again to 2.0.24c  :(

Regard
Terje

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Pending order Not receving any email
« Reply #11 on: January 15, 2014, 10:43:34 am »
Heyho, I think you are using the OPC (one page checkout) option and miss to edit your layout a bit, please read here

http://forum.virtuemart.net/index.php?topic=120943.0
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

eag

  • Beginner
  • *
  • Posts: 29
Re: Pending order Not receving any email
« Reply #12 on: January 15, 2014, 14:03:49 pm »
Milbo Thanks for the answer,

this solves the problem with the payment method selection.

But for pending orders, the system still does not send an email to the buyer, either for canceled orders, only when payment has been done properly and the order is marked as confirmed.

Any ideas to fix this and that when a user places an order, with for example, payment method COD or bank transfer, and marked as pending, a mail is send with the order to the buyer?

thanks in advance

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Pending order Not receving any email
« Reply #13 on: January 15, 2014, 18:37:37 pm »
This should be a config option in the checkout tab.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

eag

  • Beginner
  • *
  • Posts: 29
Re: Pending order Not receving any email
« Reply #14 on: January 15, 2014, 19:08:30 pm »
Hi Milbo,

I have configured as you indicate me in your last post. Thank you very much, was my forgetfulness.
Now, when the payment method is of type 'standard', the system correctly send emails to buyer and seller, when the order has the 'pending' state.

But when I choose the Paypal payment method, the system does not send any email when the order status is 'pending'.

There is also a behavior that is not correct, in the configuration of Paypal payment method, I set the following:
Pending transactions -> confimed by shopper.
The state 'confimed by shopper' exists.
When a purchase is made, before making the payment, the order status is 'pending' and not 'confimed by shopper'

thanks in advance