Add custom payment method

WCMp Vendor Membership

Add custom payment method Resolved

Tagged: , ,

Viewing 9 reply threads
  • Author
    Posts
    • #73463
      Alexandru Negoita
      Participant

      I would like to add a custom payment method to the vendor upgrade/buy checkout page. Could you please provide me a hook/documentation so i can achieve this ? It would be much appreciated.

    • #73477

      Hi @Alexandru Negoita, thanks for the query.

      You can find the hook/filter list here – https://wc-marketplace.com/support-forum/topic/error-when-vendor-tries-to-sign-up-2/#post-24790

    • #73497
      Alexandru Negoita
      Participant

      Thanks for the answer but the responses to that thread are marked as private so i cant see them.

      • #73631
        Alexandru Negoita
        Participant

        Also, could you point me to the hook to disable all of your standard payment (stripe and paypal) without modifying the core files ?

    • #73560

      @Alexandru Please check again, I have made that thread public : https://wc-marketplace.com/support-forum/topic/error-when-vendor-tries-to-sign-up-2/#post-24515

    • #73630
      Alexandru Negoita
      Participant

      I’ve looked trough the code and i cant find any of these actions in the membership plugin or into the wcmp plugin.

      Could you please explain to me what parameters for this action are ?

      “do_action( ‘wcmp_vendor_membership_create_third_party_payment’, $this->method, $this->user_id, $new_user, $this );

    • #73860
      Alexandru Negoita
      Participant

      @Moumita

      Any answers regarding this ?

    • #73865

      @Alexandru Negoita, After hearing from you, we checked the coding.

      There was some modification in our code. Sorry for the inconvenience.

      So, you need to create a new class and load that on

      apply_filters( 'wcmp_membership_gateways', $load_gateways );
      copy

      For further reference check how we have integrated payment gateway such as PayPal / Stripe.

    • #73978
      Alexandru Negoita
      Participant

      A question if i may.

      How can i make a normal user (contribuitor or customer) a vendor from PHP coding ? And add its membership ? Do i need to add all the meta manually ? Or is there a function that dose that automatically ?

    • #74113

      @Alexandru Negoita, our replies are inline :

      – How can i make a normal user (contribuitor or customer) a vendor from PHP coding ?

      >> kindly check the code of our membership and see how we are adding a user as a vendors to a site.

      – And add its membership ? Do i need to add all the meta manually ? Or is there a function that dose that automatically ?

      >> Currently there is not a single function. So, kindly check our code properly and see how we are using a payment gateway to receive money and how we are using their success/failure response to add a vendor.

    • #75336
      MOUMITA Haldar
      Participant

      Hi @Alexandru Negoita,

      I presume that your issue is resolved, since, we haven’t heard back from you.

      We are marking this thread as resolved.

      Kindly open a new thread if you face any further query.

Viewing 9 reply threads

The topic ‘Add custom payment method’ is closed to new replies.

WCMp bundle is available at a slashed price

Grab It Now