Plugin Main Functions
- zip and afterpay installment payments via the Adyen API.
- You can set your order total to exceed a certain amount before you can use installment payments.
- You can set the countries supported by installment payments.
Third-party libraries used
- adyen/php-api-library: SDK provided by Adyen for interfacing with their payment APIs.
- yahnis-elsts/plugin-update-checker: implement the plugin update function to facilitate the later maintenance and update.
Problems encountered during development
The amount passed to adyen cannot have a decimal point and needs to be converted to the smallest currency unit of the corresponding country. For example, if the smallest currency unit of the RMB is the cent, then 12.34 Yuan needs to be converted to 1234 and passed to adyen, and if the smallest currency unit of the Yen is the Yuan, then 12 Yuan is passed directly to ayden, for details, refer to Adyen's(computer) fileThe