Use WCMp Paypal & Stripe at the same time

WCMp Stripe Marketplace

Resolved
Viewing 25 reply threads
  • Author
    Posts
    • #130262
      MaxenceTP
      Participant

      Hello!
      Any update about this post https://multivendorx.com/support-forum/topic/error-with-wcmp-paypal-marketplace/#post-125993 ?
      I would like to use your PayPal & Stripe plugins at the same time. And that the vendors can configure their PayPal adress, and Stripe account on their dashboard.

    • #130302

      I’ll check with my team.
      We will keep you posted.

    • #130303
      MaxenceTP
      Participant

      Thank you

    • #130320

      Hi,
      This feature is already added to our plugin. It is already compatible with stripe split payment, PayPal split, and Razorpay split. If you enable all these options from payment then you can see there is an option on the vendor end “all of the above” like https://scrnli.com/3h47R4iXS8bb11
      Thanks

    • #130322
      MaxenceTP
      Participant

      Ok thanks! I have 2 other questions related to PayPal + Stripe:
      – Is it possible to hide the PayPal payment method if the seller has not configured this payment method?
      – Is it possible to redirect Stripe payments to the admin account if the seller has not configured this payment method?

      And vice versa

    • #130382

      @MaxenceTP, what happens if the customer buys from 2 vendor, one of them has configured PayPal and one vendor doesn’t configure this.

    • #130387
      MaxenceTP
      Participant

      If there is a payment method that both sellers accept, it is displayed. If there is none, the user is told to buy the products separately

    • #130393

      Hi,
      – Is it possible to hide the PayPal payment method if
      >>>>>>>>> Which section payment method do you want to hide? can you please send a screenshot
      – Is it possible to redirect Stripe payments to the admin ac
      >>>>>>>>> If you are using wcmp free then normally it will submit all money on the admin stripe account. And payment will be done through cron job. So you can restrict it easily. But in the case of wcmp stripe marketplace split payment addon, if you use it to charge and transfer, it is first inserted on the admin Stripe account then vendor. So if the vendor has no connected account then it will automatically store on admin account.

    • #130401
      MaxenceTP
      Participant

      – Is it possible to hide the PayPal payment method if
      I’m looking for the custom code that remove the paypal payment method on the checkout page if one of the vendors of the cart is “XX” : https://prnt.sc/1z1jwz4

      – Is it possible to redirect Stripe payments to the admin
      My question is about your plugin WCMp Stripe Marketplace. I understand what you mean, so there is no special configuration to be done?

      And another question that is a bit more complex, is it possible to have different commissions for the seller depending on the payment method?
      For example, if the customer pays via paypal, there will be a 25% admin commission, whereas if he pays via stripe, it will be 20% admin commission.

    • #130469

      Hi,
      Yes, you can customize this by

      woocommerce_available_payment_gateways
      Copy

      this filter. This is a woocommerce hook for displaying payment options on the checkout page.
      And another question that is a bit more complex is it possible to have different commissions for the see…. >>> Yes this is possible by using custom code. If you need any help (regarding hooks and filter/ flow) at the time of modification then please let us know.
      Thanks

    • #130470
      MaxenceTP
      Participant

      I already found this filter and I’m able to remove the paypal method, but I don’t know how to make the condition to check the names of the vendors of the products in this basket. I think you can help me with that, as it’s specific to WCMp 🙂

      If you can help me with a custom code that overwrite the vendor commission for a specific payment gateway that would be awesome.
      I also have the filter for the commisssion value, but I don’t know how to make the condition to check the payment method

    • #130519

      Hi,
      Sure we will help you out. First, you need to check how many products are in the cart. From that, you can get product ids. So now you need to find vendor details from that product id. Use

      get_wcmp_product_vendors($product_id)
      Copy

      this function to find vendor from product.
      We will help you out with hooks and filters. Use this

      wcmp_commission_after_save_commission_total
      Copy

      action for modify commission total.
      Thanks

    • #130548
      MaxenceTP
      Participant

      It’s working to disable a payment method in cart 🙂

      Can you give me an example to use the action : wcmp_commission_after_save_commission_total ?

    • #130607

      Hi,
      This is a do_action. you have to use add action to modify commission totals. You can get a reference for do_action from here https://developer.wordpress.org/reference/functions/do_action/. We have to save commission on a particular meta. So you have to modify it as per your requirement.

    • #130679
      MaxenceTP
      Participant

      I don’t really understand how to do that :/
      Are you sure that is not related to the filter “wcmp_commission_total_amount” ?

    • #130725

      Hi,
      We have provided you with this filter for commission value customization. Complete code is very huge and time is taken. If you need any function related help in the time of integration, then let us know.

    • #130754
      MaxenceTP
      Participant

      I don’t need the full code, I can get away with it. It’s just the base with the wordpress specific functions

      I can manage the PHP in the function myself

    • #130776

      Hi,
      This hook is placed at the end of the calculate_commission function. This is the main function for calculating commission. If you check the code then you can see there is an area/ meta where we saved commission total. So basically you need to update _commission_amount this.
      Thanks

    • #130792
      MaxenceTP
      Participant

      Is “_commission_total” the amount the seller earned or what the admin earned?

      Is there also another action that is performed after the payment is validated?
      To change the value of the commission displayed on the seller’s dashboard only, even if he received a payment of a different amount

    • #130821

      Hi,
      The commission is always created for vendors. From the admin account, we will pass the vendor money.
      The commission is created after payment. We have done all this in woocommerce checkout hook.
      Thaanks

    • #130829
      MaxenceTP
      Participant

      When I modify the “_commission_total” meta with this code :

      function example_callback( $commission_id, $order ) {
          if ($order) {
              update_post_meta( $commission_id, '_commission_total', 5000 );
          }
      }
      add_action( 'wcmp_commission_after_save_commission_total', 'example_callback', 10, 2 );
      Copy

      it changes the total amount of my order. Here when I open paypal I will be asked for 5000€ instead of the product price.

      How to make the user pay the normal price, but modify the commission that is displayed on the seller dashboard?

    • #130901

      Hi,
      You have used another hook. We have shared a different hook. Use on that hook.
      Thanks

    • #130910
      MaxenceTP
      Participant

      I used the hook you sent in #130519, isn’t ?

    • #130966

      Hi,
      In that case, you have to use the woocommerce thankyou page hook. This woocommerce_thankyou. You can find the parent order id from this hook. From that order, you need to find a commission and change that commission. Otherwise, it will reflect.
      Thanks

    • #131068
      lydiaharve15
      Participant

      Thanks for the update and quick reply My Balance Now. I’ll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread.

    • #131087
      MaxenceTP
      Participant

      Thank you, this is working 🙂

Viewing 25 reply threads

The topic ‘Use WCMp Paypal & Stripe at the same time’ is closed to new replies.