Migration plugin indico 1.2 to 2.2

dear

In version 1.2 of indico there is an add-on that allows you to use a payment gateway like PayPal. The plugin in this version is located on the path:

/ MaKaC / plugins / Epayment / myPay

Is there a way to convert that plugin that works for version 1.2 to version 2.2 of indico?

What would be the correct way to create a complement in version 2.2 of Indico?
Do you know any template or documentation to customize the add-on that use payment gateways?

thanks

If you install the official plugins, this includes the payment_paypal plugin: https://docs.getindico.io/en/latest/installation/plugins/

In case you have a custom plugin, you will have to rewrite it from scratch - 2.0 is a 97% rewrite, so almost nothing of the original code remained. You could use our paypal plugin as an example - you can find its code in this repo: https://github.com/indico/indico-plugins