Closed colburncodes closed 6 months ago
The update signifies the successful completion of the Payments Integration with "Lemon Squeezy" for test mode. It includes handling order refunds, enhancing payment integration robustness. Backend adjustments support new event handling, while utility function tweaks improve cross-browser compatibility.
File Path | Change Summary |
---|---|
README.md |
Updated status of "Payments Integration" to completed and integrated with "Lemon Squeezy" for test mode. |
src/pages/api/lemon/... |
Added support for OrderRefunded event, including new enum value and handler. |
src/utils/utils.ts |
Modified openUrlInNewTab function behavior and adjusted module import order. |
db/migrations/.../migration.sql |
Added "refunded" column to the "LemonSqueezyOrder" table to track refund status. |
db/schema.prisma |
Enhanced schema with a new refunded field of type Boolean in the LemonSqueezyOrder model. |
src/tests/auth/.../login.test.ts |
Added hasLifeTimeAccess property with a default value to the mockUser object. |
Amongst code and digital lore,
A rabbit coded, spirits soar.
🍋 Lemon Squeezy, integration grand,
Refunds processed, across the land.
Links leap through browser's keep,
In this digital burrow, joy runs deep.
🐰 "Hooray!" it cheered, work complete, so neat!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation