Credit card entry form in Modx Minishop2 payment plugin

I am making a payment plugin for Modx Minishop2. And im stuck. How to make a form of card input in the cart when selecting my payment method?

I need to add fields for entering the card number, cvv, card date.

If you speak russian, it’s probably more promising if you ask this question in the russian MODX forum:

The extra Minishop2 is mostly used by the russian MODX community, and there are many more people in that forum, who might be able to help you.