Padloper 2 has received a number of updates, pushing it closer to a production release.
Stripe
Finished the Stripe payment gateway. It is based on the latest Stripe Payment Intents + Stripe Elements. The Stripe Elements widget is fully configurable (UI). I will be updating the docs about this. You can test this now in the demo site. Make sure to read 'about' first here. If upgrading, there are a number of simple steps (actually just one simple step). Just create a page titled Stripe in the admin under the payment gateways parent page. Currently, it is not possible to create a payment gateway using the GUI.
Shipping Rate Selection
If more than 1 shipping rates are matched, the checkout form will now present the customer with a form to select their preferred rate (e.g. express - €5, standard - €2, etc.). [I have just noticed a bug if using the inbuilt form with this; I'll fix asap]. You can test this by adding this product to the basket and selecting Kenya as the shipping country.
Variants
The demo site and the starter site have been updated to show how to handle products with variants - adding to basket, checkout, etc. You can test by adding this product or this Padloper [fake] product to the basket. Pay using Stripe and you'll even get to download Padloper! OK, file's fake, obviously.
Reports
View and functionality is now ready. Powered by htmx. Hoping to create a demo video of this and other backend views soon.
Downloads
This was not ready in the last release. it is now. Test with 'Padloper' product linked to above. If upgrading, you will need to install the related Fieldtype + add it to the download template. I'll write up about this separately.
Bug Fixes
Fixed a number of bugs.
Docs
I've updated the docs in some places.
New Requirement
I have added a new requirement for PHP BC Math Extension. Currently, Padloper will not work without this. Otherwise we have never-ending pennies/cents rounding errors. Whole libraries have been created just on this one issue; just Google it. BC Math solves it for us.
Pending
Manual Order Creation: this has been a difficult but getting close to finishing it up.
Documentation: Especially the most pertinent.
Some minor bug fixes.
Some PayPal indempotency + rounding issues! If anyone knows how to pass amounts as pennies/cents to PayPal instead of whole currencies, please let me know. It used to work with the old API. I haven't been able to find how to do this in the latest API and checkout SDK.
Production Release
My plan is to release a stable version in March 2022. Beta testing has finished. Thank you all who've participated.
Edit: making the demo site pretty and perform better on smaller screens is still on my todo. It's not urgent though. Thanks.