ADD: JetFormBuilder: use several payment gateways at once in jetformb…#609
ADD: JetFormBuilder: use several payment gateways at once in jetformb…#609yurkodmtr wants to merge 17 commits intorelease/3.6.0from
Conversation
UPD: JetBooking macros handling in calculated field;
🤖 AI PR ReviewRisk level: ReviewThis PR introduces the new "multi-gateway" module and block, allowing usage of multiple payment gateways within a single JetFormBuilder form, addressing the linked issue #17484. Positive aspects:
Points of attention:
Overall, this is a substantial and well-structured feature addition enabling multiple payment gateways within forms. Pending the version constant fix and addition of tests, this looks ready for integration. Files of note:
No security or backward compatibility issues found. Suggested changelog entry
|
🤖 AI PR ReviewRisk level: ReviewThis PR introduces the new Multi Gateway module and block, allowing usage of several payment gateways at once in JetFormBuilder forms. The changes include adding a new module class, React-based block editor UI, PHP rendering of the block, styles, and integration into the modules controller. Security:
Performance:
Backward Compatibility:
Multisite & Scalability:
Code Quality:
Recommendations:
Overall, this is a well-structured feature addition that aligns with repository guidelines. Suggested changelog entry
|
🤖 AI PR ReviewRisk level: ReviewThis PR implements the ability to use multiple payment gateways simultaneously in JetFormBuilder forms, resolving issue #17484. The changes include updates to various compatibility files for Elementor, Bricks, and JetBooking integrations, as well as block styling adjustments predominantly changing 'Background Color' labels to 'Background' for UI consistency. Changes to front-end JS files improve booking field parsing and formula recalculations handling multiple macros. Security-wise, the PR does not appear to affect form submission processing or nonce/capability checks, which is appropriate since the main change is the addition of multiple payment gateway support. Performance considerations are handled well; new features integrate with existing hook/filter systems without introducing heavy queries or blocking operations. Backward compatibility appears preserved, with no public API or schema-breaking changes noted. Minor issues:
Overall, the PR looks solid for the added feature. Testing:
No unit or integration tests are included in the patch for the multi-gateway feature, recommend adding test coverage for the new payment gateway selection and processing logic. Suggested changelog entry
|
🤖 AI PR ReviewRisk level: ReviewThis PR introduces the ability to use multiple payment gateways simultaneously in JetFormBuilder forms as per the linked issue #17484. The main functional changes are accompanied by updates in assets and minor code style improvements. Security:
Performance:
Backward Compatibility:
Code Quality:
Testing:
Overall, the PR aligns well with project guidelines, focuses mainly on new payment gateway functionality with complementary improvements in styling and compatibility layers. Before merging, ensure adequate testing of multi-gateway forms especially for payment processing correctness and failure handling. Suggested changelog entry
|
…uilder form https://github.com/Crocoblock/issues-tracker/issues/17484