WordPress.org

Ready to get started?Download WordPress

Forums

myCRED
Custom Payment gateway integration (2 posts)

  1. afrovoodoo
    Member
    Posted 9 months ago #

    Hello, I have integrated myCred into my site and like that it is a viable way to pay using store credit rather than coupons. The problem is paypal is not a viable option for buying credit as the country I am building the site for does not allow paypal payments.

    I am currently using this plugin as a payment gateway:
    http://wordpress.org/plugins/woocommerce-interswitch-webpay-module

    and would like to know how I could also use this as a way to buy store credit. Could you give me a step by step as I have scoured your site support forums and tutorials but couldnt find anything helpful.

    I found this page and I'm assuming it contains what I need but I have no idea how to implement it:
    http://mycred.me/classes/mycred_payment_gateway/

    Please some help would be grateful.

    http://wordpress.org/plugins/mycred/

  2. Gabriel
    Member
    Plugin Author

    Posted 9 months ago #

    Hey afrovoodoo

    As soon as I have the time I will be creating a few new tutorials on our website where I will go though how the Gateway API works in myCRED. The myCRED_Payment_Gateway is the gateway class used by all currently supported gateways so it is an important one to know.

    However if you want to build your own, check out how the existing gateways work.

    There are mainly two types of gateways:

    a) Information collected locally (on your site) and transmitted to a processor (i.e. NETbilling and Zombaio).
    b) Information collection and processing is handled remotely (i.e. PayPal and Skrill).

    So you would want to start by figuring out which of these two you want / need. If you need to collect payment details locally (i.e. a users credit card info) and transmit it to a processor then I suggest NETbilling as a good place to start. On the other hand if all that is handled by your processor then PayPal is a good one to check out.

    All gateways are located in: plugins/mycred/addons/buy-creds/gateways/

Reply

You must log in to post.

About this Plugin

About this Topic