WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: Boudi on January 03, 2012, 03:04:17 PM

Title: [resolved] cancel order in Paypal is changing the status in Bakery admin??
Post by: Boudi on January 03, 2012, 03:04:17 PM
Hi,

Burning question with high priority:

A customer of us got an order and payment with paypal some weeks ago in Bakery.
After the product was shipped our customer changed the orderstatus in Bakery in 'Payed'.
Now a few weeks later the client cancelled the product through Paypal.

What happened is that in the admin-bakery the status has changed to "cancelled". Our customer did NOT changed anything in their admin.

My question is: Does the status in the Bakery admin automatically changes after a client had cancelled his order/payment in Paypal??

If not then there is another major problem.

Quick respond please.

Thanks
Title: Re: After payment: cancel order in Paypal is changing the status in Bakery admin??
Post by: freeSbee on January 03, 2012, 07:08:49 PM
Hi Boudi

What happened is that in the admin-bakery the status has changed to "cancelled". Our customer did NOT changed anything in their admin.
I am sorry but there has never been a status "cancelled" in the order administration of the Bakery backend unless you have made some modifications to the code yourself.

Regards Christoph
Title: Re: After payment: cancel order in Paypal is changing the status in Bakery admin??
Post by: jacobi22 on January 03, 2012, 07:17:53 PM
File: modules/bakery/payment_methods/paypal/check_payment.php

Line 41 ff.
Code: [Select]
// Check if the payment has been canceled by user
if ($get_status == 'canceled') {
        $payment_status = 'canceled';
        return;
}

works only for the actuell payment or get the status for all paypal payments??
Title: Re: After payment: cancel order in Paypal is changing the status in Bakery admin??
Post by: Boudi on January 03, 2012, 09:40:40 PM
Thank you for your quick replies.

After some investigation the cause was found.

@ freesbee; you're right, there were some small modifications made but inherent to this problem.
@ Jacobi; Thnx for your time to respond.

The cause was that the client called our customer to cancel the order. One of the staff from our customer, who has her holiday now, changed the status and never feedbacked the call and status change to other staffmembers.

This topic can be closed. Thank you for taking the time to bring feedback.

Boudi