View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007783 | module PayPal Checkout | module PayPal checkout - sub | public | 2025-04-09 10:55 | 2025-04-10 14:29 |
Reporter | fcos | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Product Version | 3.4.1 | ||||
Summary | 0007783: birthday validation not working properly for PUI | ||||
Description | The 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. | ||||
Tags | No tags attached. | ||||