Paypal refunds

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Paypal refunds

Post by compunerdy » Fri Nov 10, 2017 4:53 am

Not sure if PayPal made a change but you can refund up to 180 days but under payments on a order it does not let you do it up to that many days..

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Paypal refunds

Post by Katie » Sat Nov 11, 2017 1:03 pm

I don't think we put any time limitations on this feature. What is the error message when you try to do the refund?
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Paypal refunds

Post by compunerdy » Mon Nov 13, 2017 4:07 am

There is no error.. it just does not show the option.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Paypal refunds

Post by Katie » Mon Nov 13, 2017 4:32 am

We use PayPal, so it's easy enough for me to check this, and I am seeing the Refund button well beyond 30 days for both std pymts and cc pymts.

I'm not sure why this isn't appearing for you. That is odd.

Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Paypal refunds

Post by compunerdy » Mon Nov 13, 2017 6:07 am

Just double checked.. one from 9/24 shows the "issue refund" button but any past 9/7 (or close to it) do not so it looks like any past 60 days or so do not show the option for me. I have not looked to see if this is code I can change on my end yet.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Paypal refunds

Post by Katie » Mon Nov 13, 2017 6:34 am

You're right. I went to an older order and there is no refund button. There must be something in the code, and I believe you are right about the timeframe...60 days.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Paypal refunds

Post by compunerdy » Mon Nov 13, 2017 6:49 am

I love it when I am right and not just crazy like usual :shock:

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Paypal refunds

Post by Katie » Mon Nov 13, 2017 8:22 am

I opened a bug report. Will let you know if it can be changed easily.

Thanks!
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Paypal refunds

Post by jmestep » Mon Nov 13, 2017 11:19 pm

I had changed that on a site on Orders/Payments/Default.aspx.cs. In the ShowButton method, there is code like this setting the 60 day limit.

Code: Select all

//SHOW REFUND IF THE PAYMENT WAS MADE WITHIN 60 DAYS
                    //AND THE PAYMENT IS CAPTURED
                    //AND THERE IS IS A POSTIVE TRANSACTION CAPTURE AMOUNT
                 
                    return ((payment.PaymentDate > DateTime.UtcNow.AddDays(-60))
                         && (payment.PaymentStatus == PaymentStatus.Captured)
                          && (payment.Transactions.GetTotalCaptured() > 0));
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Paypal refunds

Post by Katie » Tue Nov 14, 2017 12:09 am

Perfect Judy! Thanks for posting this.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Post Reply