202ecommerce / paypal

This repository is for developpers only. To install and upgrade the module in a production shop please install the package via PrestaShop Marketplace by following this link:
https://addons.prestashop.com/fr/paiement-carte-wallet/1748-paypal-officiel.html
Academic Free License v3.0
20 stars 31 forks source link

Hotfixes/41672 parse transaction date #260

Closed bogdan202 closed 1 year ago

bogdan202 commented 1 year ago
Questions Answers
Description? Returns a current date if parse transaction date is failled
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Fixes #{issue number here}.
How to test? Pay the order by invoice. The error occurs during the order creation. Message: Argument 1 passed to PaypalAddonsclassesAPIResponseResponseOrderGet::setDateTransaction() must be an instance of DateTime, bool given, called in /modules/paypal/classes/API/Request/PaypalOrderGetRequest.php