I need to create new payment plugin and have created a .zip file with two files: mypayment.php and mypayment.xml. I used os_paypal.php and os_paypal.xml as reference for my new payment plugin.
When I install the plugin from OSmembership plugin manager I always get Server Error 500 message.
Can someone point out what I'm doing wrong?
What is the structure of a payment plugin e.g. I have mypayment.php and mypayment.xml files zip to a mypayment.zip which I try to install but get Server Error 500. How should I structure new payment plugin?
The structure you are having is correct. I don't know why you received error 500. You can submit a support ticket sending us super admin account of your site so that I can check it for you
Update : After checking the uploaded file, I saw that the xml file is invalid (has some duplicate attributes). I sent the file back to Jon and it should be OK now