Hi @scatterinstruments ,
You need to edit the plugin files, as currently, it doesn’t support more parameters.
But thank you for your question, this gave me the idea of adding a WordPress filter to the parameters, so you (and anyone using the plugin) can edit the parameters by add_filter. I will work on this in the future.
Brother,
I edit the file, but did not success, that way i send you questions,
Can you gave a example how i will add filter ?
Currently, you need to edit the plugin to do that.
Lines from 214 to 220 where I am setting the “Create Checkout Session” parameters.
https://github.com/alibasheer/woo-mpgs/blob/master/woo-mpgs.php#L214
and starting line 286 I am setting the checkout payment request:
https://github.com/alibasheer/woo-mpgs/blob/master/woo-mpgs.php#L286