Create new payment plugin

  • Jon Oli
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago - 9 years 5 months ago #71947 by Jon Oli
Create new payment plugin was created by Jon Oli
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?
Last edit: 9 years 5 months ago by Jon Oli.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #72002 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create new payment plugin
Hi Jan

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

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jon Oli
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #72009 by Jon Oli
Replied by Jon Oli on topic Create new payment plugin
Thank you, I have submit a support ticket with super user admin and also added mypayment.zip in attachment.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #72095 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create new payment plugin
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

Tuan

Please Log in or Create an account to join the conversation.