Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 3 of 3
Paypal 1.3.2.3 Problem Status goes to complete after payment !!!! 
 
frightideas
Jr. Member
 
Total Posts:  1
Joined:  2010-01-13
 

Magicker’s two fixes worked for me as well on a fresh install of 1.3.2.4.  “Total Paid” is now correct, and order status is correct set to “Processing” instead of Completed.

Thanks!

--
Fright Ideas

 
Magento Community Magento Community
Magento Community
Magento Community
 
danim
Jr. Member
 
Total Posts:  5
Joined:  2009-06-08
 

The fix works great!

However, I suspect that there is another bug with paypal.

When the customer pays using paypal the invoice is generated and marked as “notified to the customer”. However, the email with the invoice is not send to the customer.

Thank you for the fix!

 
Magento Community Magento Community
Magento Community
Magento Community
 
KWAVE
Member
 
Avatar
Total Posts:  53
Joined:  2009-04-04
Boston
 

Since no one answered this

file location is here

app/code/core/mage/paypal/model/Standard.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
BossTurbo
Jr. Member
 
Total Posts:  14
Joined:  2009-10-02
 

Thanks kwave and magicker.  Was exactly the solution I needed.  Works in 1.3.2.4.

 
Magento Community Magento Community
Magento Community
Magento Community
 
instigata
Jr. Member
 
Total Posts:  24
Joined:  2008-11-10
 

Interesting post guys.

Any ideas on how to handle the coupon problem with paypal. The coupon is being registered if I accept bank prepayment at the order review (final stage), however, not if the customer pays with paypal standard.

Thanks for the help.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cdouillard
Jr. Member
 
Total Posts:  16
Joined:  2009-02-11
Montreal
 

I applied the the modifications suggested here and initial issues with order status and double total amount have disappeared.
I am still experiencing a problem with tax though:

When I am inside Magento Checkout taxes are calculated ok.
Then when payment is made in Paypal the order is updated and I get two new tax records with weird amounts. My totals are still ok though. It’s just when I look into the tax detail that I see the new records.

Any clue anyone?

(See attached screen shots)

Image Attachments
Image 3.pngImage 2.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
Wielen
Sr. Member
 
Total Posts:  95
Joined:  2009-01-28
 
danim - 01 February 2010 11:44 PM

The fix works great!

However, I suspect that there is another bug with paypal.

When the customer pays using paypal the invoice is generated and marked as “notified to the customer”. However, the email with the invoice is not send to the customer.

Thank you for the fix!

Hello,

I have the same problem, does anyone has a solution for this?

Cheers,

Jord

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cyberrob90
Jr. Member
 
Total Posts:  17
Joined:  2010-04-26
 

Hi,
I also have this problem that the customer isn’t informed. There’ just a paypal assignment for succesfull payment. It is very important for me to inform the customer per Shopmail.
Has anyone found a solution?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Homendrakumar
Jr. Member
 
Total Posts:  3
Joined:  2008-10-12
 

Thanks, Very Helpful ! 

Great work done by magento developer.

 
Magento Community Magento Community
Magento Community
Magento Community
 
magentomax
Jr. Member
 
Total Posts:  4
Joined:  2010-03-16
 
Dx3webs - 11 December 2009 01:35 PM

I can confirm that updating from 1.3.2.3 to 1.3.2.4 and making the changes below fixes the following:

grand total order double
customer paid double
paypal order defaulting to complete instead of processing

My Standard.php file now looks like:

147     public function canCapture()
148     {
149         
return true;
150     }
.....  .........


417     $invoice->register()->pay();
418              Mage::getModel('core/resource_transaction')
419            ->addObject($invoice)
420         ->addObject($invoice->getOrder())
421          ->save();
422        $order->setState(
423        Mage_Sales_Model_Order::STATE_PROCESSING$newOrderStatus,
424           Mage::helper('paypal')->__('Invoice #%s created'$invoice->getIncrementId()),
425           $notified true

i have used the same code in my magento 1.3.2.3, but it takes the Complete status instead of Processing. we have virtual products.
Please replay. i dont find any solutions for the same.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jamie Jackson
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2010-03-05
Sheffield, UK
 

To fix this issue follow these simple steps below.

Locate File: app/code/core/Mage/Paypal/Model/standard.php

On line 423 you should have this line of code:
Mage_Sales_Model_Order::STATE_COMPLETE, true,

Replace this line with
Mage_Sales_Model_Order::STATE_PROCESSING, true,

Save and upload and this will set new paypal orders to processing when payment is complete.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 3 of 3