How can I extend the plugin by adding payment gateway

This topic contains 3 reply and 2 voices, and was last updated by AntonLyakhov 10 years, 11 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
May 21, 2013 at 3:05 pm 3928
AntonLyakhov Hi, I need add a support of robokassa gateway - http://www.robokassa.ru/ru/Doc/demo_php.zip. Tell me please, how I can do this and what files I must to edit.
May 21, 2013 at 6:01 pm 3931
Tareq Hasan Tareq Hasan

If you want to develop custom payment gateway, please take a look at /lib/gateway/paypal.php and /lib/gateway/bank.php.

May 22, 2013 at 9:17 am 3984
AntonLyakhov AntonLyakhov

I found what I must to include in wpuf.php (require_once dirname( __FILE__ ) . ‘/lib/gateway/robokassa.php’;) and modify /class/payment.php to allow display settings in backend.
Thats all?

And another question – i’m set “Charge for posting” to Yes, then make bank payment, in backend accept payment see this – http://awesomescreenshot.com/0201aybz79 :
ID User ID Статус Cost Post Pack ID Payer
2 2 completed 50 0 2
1 2 completed 5 0 1

=> post – zero!
In Subscription Pack Details -> Number of Posts = 50, on example.
Why?

May 22, 2013 at 9:39 am 3986
AntonLyakhov AntonLyakhov

I’m not understand why, but after some time, I can do create posts from buying subscription.

Viewing 3 Posts - 1 through 3 (of 3 total)