Update the paypal refund time limit from 60 to 180 days

Created on 10 January 2022, almost 3 years ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

This module checks that the transaction is less than 60 days old in order to issue a refund.
It seems that paypal has changed this time limit to 180 days see: https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/admin...

using the PP checkout submodule, I ran into a situation where I had to issue a refund for a purchase that was > 60 days but < 180
I changed the limit in this module and the refund was successful.

Proposed resolution

Update all the submodules menu item access callback, and form validation functions to check for 180 days instead of 60

In my case these were commerce_paypal_checkout_refund_access and commerce_paypal_checkout_refund_form_validate

Thank you.

πŸ› Bug report
Status

RTBC

Version

2.0

Component

PayPal Checkout

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024