Adyen Zip & Afterpay overseas credit card installment payment plug-in

Main functions of the plug-in

  • Implement zip and afterpay installment payment functions through Adyen API.
  • Installment payment can only be used when the total order exceeds a certain amount.
  • Countries supported by installment payment can be set.

Third-party libraries used

  • adyen/php-api-library: SDK provided by Adyen to facilitate docking with their payment API
  • yahnis-elsts/plugin-update-checker: Implements the plug-in update function to facilitate later maintenance and updates.

Problems encountered during development

The amount passed to adyen cannot have a decimal point and needs to be converted into the minimum currency unit of the corresponding country. For example, the minimum currency unit of RMB is cents, 12.34 yuan needs to be converted to 1234 and passed to adyen. The minimum currency unit of Japanese yen is yuan, then 12 yuan can be passed directly to ayden. For details, please refer to Adyen’sdocument