Article ID: 127240, created on Oct 24, 2015, last review on Jun 27, 2016

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

When customers try to pay using the PayPal Adaptive Payment plug-in from OBAS they got the following error:

the date range between the start date and the end date is too wide

"Pre-approval period (days)" value is set to 365 under Top > Commerce Director > Online Payments > Payment Plug-ins > PayPal Adaptive Plug-in

Cause

According to PayPal Documentation:

endingDate - Last date for which the preapproval is valid. It cannot be later than one year from the starting date.

The next year 2016 is a leap year, but OBAS does not know about it and therefore calculates endingDate incorrectly.

Resolution

Such behavior was classified as the software issue PBAS-30133 and was fixed in OBAS 4.5.6 release.

To resolve the issue, please upgrade to 4.5.6 as described in How to upgrade OBAS system to the latest available version.

Workarounds

As a workaround "Pre-approval period (days)" value could be reduced to 364 under Top > Commerce Director > Online Payments > Payment Plug-ins > PayPal Adaptive Plug-in

For OBAS 4.5.5 the hotfix is available. Please download and install an appropriate version:

Hotfix for i386 systems

# rpm -Uvh hspc-plugin-pp-op-paypal_adaptive-4.5.5-35.swsoft.i386.rpm
# hspc-upgrade-manager --finish

Hotfix for x86_64 systems

# rpm -Uvh hspc-plugin-pp-op-paypal_adaptive-4.5.5-35.swsoft.x86_64.rpm
# hspc-upgrade-manager --finish

Warning: Running hspc-upgrade-manager --finish will cause OBAS downtime for several minutes.

Search Words

PayPal

paypal date

Pre-approval period

The date range between the start date and the end date is too wide

624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF