Home Forums Plugin Support WP User Frontend Pro How can I extend the plugin by adding payment gateway

This topic is: not resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  AntonLyakhov 6 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3928

    AntonLyakhov
    Participant
    Post count: 6

    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.

    #3931

    Tareq Hasan
    Keymaster
    Post count: 2831

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

    #3984

    AntonLyakhov
    Participant
    Post count: 6

    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?

    #3986

    AntonLyakhov
    Participant
    Post count: 6

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

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How can I extend the plugin by adding payment gateway’ is closed to new replies.