View Issue Details

IDProjectCategoryView StatusLast Update
0007783module PayPal Checkoutmodule PayPal checkout - subpublic2025-04-10 14:29
Reporterfcos Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version3.4.1 
Summary0007783: birthday validation not working properly for PUI
DescriptionThe JS field validation for month on cl=order is not working, so its possible to submit the form without month wich causes an php error, maintenance site and an order in the error folder.

 OXID Logger.ERROR: checkdate(): Argument #1 ($month) must be of type int, string given
/source/modules/osc/paypal/src/Model/User.php getBirthDateForPuiRequest()

only reproducable in OXID 7 and PPC v3.4.1 with twig installed, v2.5.3 and v3.4.1 with smarty works fine
Steps To Reproduce- go through the checkout
- select oscpaypal_pui as payment method
- enter day, year and phone but not month
- submit order
- you should see the maintenance site and an order with oxfolder = error

My test user didnt have birthdate set in oxuser, so nothing was pre filled.
TagsNo tags attached.

Activities

QA

2025-04-09 14:18

administrator   ~0017904

- es -

QA

2025-04-09 14:19

administrator   ~0017905

pp01.jpg (245,165 bytes)   
pp01.jpg (245,165 bytes)   
pp02.jpg (77,482 bytes)   
pp02.jpg (77,482 bytes)