2 "Download-info" Emails instead 1

2 "Download-info" Emails instead 1

Postby steve@.....com » Sat Feb 11, 2012 8:43 pm

Hello,

I use authorize.net as a payment method.
I installed Joomla and I installed Virtuemart.
I enabled "Downloads" in VM configuration and I uploaded a file to be downloaded when a customer buys a specific product.
I made a test and everything was fine; I got 1 "Download-info" Email containing the link of the file.

After that, I installed the "One Page Checkout" component, and instead 1 "Download-info" Email I always receive 2 , having the same content.
If will continue like that, these won't arrive in Inbox anymore, will go straight to SPAM folder.

Please tell me what do I have to change to receive only 1 email instead 2 .

Thanks,
Steve.
steve@.....com
 
Posts: 4
Joined: Sat Jan 28, 2012 7:43 pm

Re: 2 "Download-info" Emails instead 1

Postby admin » Tue Feb 14, 2012 8:58 pm

Hello Steve,
for which order status is the email sent? We recommend to change it to "C" as confirmed. Please change this setting and let us know if it worked. The stutus "P" might be loaded twice due to support of some external extensions.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: 2 "Download-info" Emails instead 1

Postby steve@.....com » Wed Feb 15, 2012 8:21 pm

Hello,
In Configuration, on Downloads tab, the "Order Status which enables download" was already set to "Confirmed" . Do I also have to change this anywhere else ?

Please check it by yourself.
Install a fresh joomla + VM + One page checkout.
Use authorize.net as payment method and select the status to "confirmed" and you will see what is happening.

Thanks.
steve@.....com
 
Posts: 4
Joined: Sat Jan 28, 2012 7:43 pm

Re: 2 "Download-info" Emails instead 1

Postby steve@.....com » Wed Feb 22, 2012 3:46 pm

Do you have any idea ?
I didn't get any response ...
steve@.....com
 
Posts: 4
Joined: Sat Jan 28, 2012 7:43 pm

Re: 2 "Download-info" Emails instead 1

Postby info@.....nl » Wed Feb 22, 2012 6:06 pm

Same problem here. I also get two identical download mails.

Order Status which enables download = Confirmed.
info@.....nl
 
Posts: 8
Joined: Fri Feb 17, 2012 11:23 pm

Re: 2 "Download-info" Emails instead 1

Postby admin » Thu Feb 23, 2012 2:08 pm

Hello,
i believe this is a Virtuemart bug as it does not happen with other payment methods which we tested. We believe this fix must be done in ps_order which manages some parts of the authorize.net.

Will let you know what we find out.

Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: 2 "Download-info" Emails instead 1

Postby info@.....nl » Thu Feb 23, 2012 2:13 pm

It also happens with paypal selected and order total = 0. In that case the order is set to confirmed immediately and 2 download links are sent.

BTW, with order total = 0, there seems to be no check for the TOS agreement.
info@.....nl
 
Posts: 8
Joined: Fri Feb 17, 2012 11:23 pm

Re: 2 "Download-info" Emails instead 1

Postby admin » Thu Feb 23, 2012 2:31 pm

hello, ok, we will test this. But we need to know exactly which email was sent twice:
- order status change ps_order::notify_customer (loaded from ps_order)
- order confirmation email with all the purchased items + totals ps_checkout::email_receipt (loaded from ps_checkout or our ps_onepage)
- download ID ps_order->mail_download_id (from download id)
- user registration

On status change from C/P => S the payment is caputured

Most of these emails are loaded from ps_order::order_status_update which handles changes on a sucessfull payment.

The order confirmation email is sent when using OPC with our ps_onepage, search for email_receipt

I think it would be good if you contacted me on my live contacts as i cannot replicate these issues on my sites.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: 2 "Download-info" Emails instead 1

Postby info@.....nl » Thu Feb 23, 2012 3:38 pm

It is the mail with the subject "Download-Info". And the content:

Hi ...,

the file(s) you ordered are ready for your download.
Please enter the following Download-ID(s) in our Downloads Area:

...
info@.....nl
 
Posts: 8
Joined: Fri Feb 17, 2012 11:23 pm

Re: 2 "Download-info" Emails instead 1

Postby admin » Fri Feb 24, 2012 3:58 pm

Hello,
we fixed this issue in version 1.2.312, please download and install the latest version. The order status was updated twice during the checkout, which lead to double emails for download-info.

Best Regards,
Stan Scholtz, RuposTel.com
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Next

Return to One Page Checkout for Virtuemart 1.1.x

cron