Title: Custom payment option?
Last modified: August 21, 2016

---

# Custom payment option?

 *  Resolved [parvathis](https://wordpress.org/support/users/parvathis/)
 * (@parvathis)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/)
 * Hi,
 * I would like to use USSD payment method instead of Paypal/2Checkout. Do you think
   its possible? I would like to have some light on the topic. Please help.
 * [https://wordpress.org/plugins/another-wordpress-classifieds-plugin/](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715016)
 * 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](https://wordpress.org/support/users/parvathis/)
 * (@parvathis)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715089)
 * 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](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715107)
 * 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](https://wordpress.org/support/users/parvathis/)
 * (@parvathis)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715115)
 * 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](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715121)
 * 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](https://wordpress.org/support/users/parvathis/)
 * (@parvathis)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715136)
 * 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](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715140)
 * 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.

 * ![](https://ps.w.org/another-wordpress-classifieds-plugin/assets/icon-256x256.
   png?rev=2944356)
 * [AWP Classifieds](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/reviews/)

## Tags

 * [AWCP](https://wordpress.org/support/topic-tag/awcp/)

 * 7 replies
 * 2 participants
 * Last reply from: [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/custom-payment-option/#post-4715140)
 * Status: resolved