Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AWP Classifieds Team

    (@awpcp)

    Hi parvathis,

    Yes, you can do that–but you will need to create your own custom gateway module to handle things in a similar way to PayPal/2Checkout inside AWPCP.

    My suggestion would be to study the payment gateway code and model your USSD gateway using the same hooks, but with different behavior. That’s about the easiest way to do it.

    Thread Starter parvathis

    (@parvathis)

    Thanks for the quick response.

    I am not really into plugin development and the code looks all greek to me. Would appreciate if you could list out the files/hooks which you currently use so that I can take a look around.

    Plugin Author AWP Classifieds Team

    (@awpcp)

    We don’t currently have API documentation for the plugin so my suggestion above is really the only way to get started right now. We have this on the list for the future, though.

    Thread Starter parvathis

    (@parvathis)

    Hmm that’s sad. This was really urgent for me. Do you think the AWPCP support forum could be of any help here?

    Plugin Author AWP Classifieds Team

    (@awpcp)

    In this particular case, the support forum doesn’t have any additional documentation or suggestions that I’m aware of. The code is still the best bet you have.

    Thread Starter parvathis

    (@parvathis)

    Hmm ok. So from the code perspective, are you saying creating copies of any of the existing payment method and using the same function names will work fine for me? Or will it be enough I edit an existing payment method’s related files? Sorry if I confused you totally. I can explain better if you would want me to.

    Plugin Author AWP Classifieds Team

    (@awpcp)

    You can go either way–the payment gateways have hooks from the main plugin being called, so I would use a gateway file and search the plugin for calls from the main code core to see how the callbacks work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom payment option?’ is closed to new replies.