• Resolved Vivek Athalye

    (@vnathalye)


    Hello,

    Which mass payment gateway should I use for paying vendors using INR. As far as I can see Stripe is not supported in India yet and PayPal is also not an option for me.

    If there is no readymade plugin for any such payment gateway, is there a step by step guide to integrate another payment gateway that supports payments in INR? I’m willing to integrate this: https://razorpay.com/route/#developers

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello @vnathalye,

    Thanks for your query regarding the payment gateway.

    I am afraid, we don’t have any step by step developer guide for this module, however, we would request you check our Stripe module to get the idea about the development.

    Kindly let us know if you need any specific help in any module.

    Thread Starter Vivek Athalye

    (@vnathalye)

    After going through the Stripe module what I’ve understood is:

    1. I need to define a class that extends WCMp_Payment_Gateway class and implement process_payment method.
    2. Register this class using wcmp_payment_gateways filter.
    3. process_payment method will be called every time commission is to be paid to vendor; whether it is triggered by a schedule, admin or vendor request.

    Can you please confirm if this understanding is correct and are there any other steps that I need to take for integrating a different payment gateway?

    Btw, I was trying Strip module, and as a vendor when I select Stripe Connect as payment method from Vendor Dashboard > Store Settings > Billing, I don’t see any field to specify stripe_user_id. Due to this, when I try to request withdrawal it gives an error ‘Please connect with stripe account’. Am I missing some step?

    You don’t have to specify the stripe_user_id. Once the vendor properly connects their account with Stripe, their stripe_id gets generated from connect_response.

    Thread Starter Vivek Athalye

    (@vnathalye)

    Once the vendor properly connects their account with Stripe

    How does a vendor connect to stripe?

    Also can you respond to:

    Can you please confirm if this understanding is correct and are there any other steps that I need to take for integrating a different payment gateway?

    Yes, this flow is correct :

    I need to define a class that extends WCMp_Payment_Gateway class and implement process_payment method.
    Register this class using wcmp_payment_gateways filter.
    process_payment method will be called every time commission is to be paid to vendor; whether it is triggered by a schedule, admin or vendor request.

    We will get back to you, on how vendor connects to stripe.

    Thread Starter Vivek Athalye

    (@vnathalye)

    Yes, this flow is correct

    Thanks for confirming.

    We will get back to you, on how vendor connects to stripe.

    Ok. I’ll wait.

    Hi @vnathalye, We use “Stripe Connect” button to direct the vendor to stripe’s site by calling the API.

    Now, Stripe authenticates the account and sends the response, then redirect the vendor to their dashboard billing url, displaying their account is connected (hence you have to set the redirect url in Stripe that of the vendor dashboard billing url).

    Then we fetch the Stripe’s response and save that to the vendor’s user_meta.

    Thread Starter Vivek Athalye

    (@vnathalye)

    Where does the vendor see “Vendor Connect” button? I could not find one.

    Thread Starter Vivek Athalye

    (@vnathalye)

    The payment gateway that I’m trying to use, requires that each commission transfer must be associated with the customer payment (or in other words, for each order separate commission transfer should be initiated).

    When I looked at the implementation of Marketplace Stripe Gateway, I can see that for a given vendor multiple commissions (from different orders) are combined together and then transferred in a single transaction.

    If I change this flow to have separate commission transfer for each order, will it have any adverse effect on the system (financial, maintenance, performance or any other)?

    If you change the flow to have separate commission transfer for each vendor, this will not affect any thing. All you have to do is for each order, call the commission

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Mass payment in INR’ is closed to new replies.