Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Paypal : Only two decimal place precision is supported

WCMp Stripe Marketplace

Resolved
Viewing 89 reply threads
  • Author
    Posts
    • #129674
      MaxenceTP
      Participant

      Hello, this is my second post about the same problem :

      [field] => /purchase_units/@reference_id=='61786b5d32b91'/amount/value
      [value] => 3.6000000000000014
      [issue] => DECIMAL_PRECISION
      [description] => If the currency supports decimals, only two decimal place precision is supported.
      Copy

      It was partially fixed here : https://multivendorx.com/support-forum/topic/error-with-wcmp-paypal-marketplace/#post-126503
      But maybe not for all the cases. Here I have the error when I use a discount code.
      Can you please check again ?

    • #129707

      Hello thank you for getting in touch with us ,
      Can you please let us know about the discount code that you have added is a costume code or can you please let us know about how you have added the code so that we can understand it better .

    • #129771
      MaxenceTP
      Participant

      Here is the checkout page: https://prnt.sc/1xinjnr

      And the coupon configuration: https://prnt.sc/1xink9m

    • #129750
      MaxenceTP
      Participant

      Here is the checkout page: https://prnt.sc/1xinjnr
      And the coupon configuration: https://prnt.sc/1xink9m

    • #129872
      MaxenceTP
      Participant

      Can you take a quick look at this problem?
      I have a sale period starting tomorrow, so this could be a big problem…

    • #129873
      MaxenceTP
      Participant

      I installed Stripe to have at least 1 functional payment method on my site but in fact WCMp Paypal hides the Woocommerce “Place order” button which makes it impossible to pay through Stripe.
      How can I get this button back?

      It’s really urgent, I’m very disappointed to pay so much for a plugin that only works partially

    • #129883
      This reply has been marked as private.
    • #129888
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #129943
      This reply has been marked as private.
    • #129956
      MaxenceTP
      Participant

      Thank you, this problem is also solved. However, I have been informed of 3 other bugs…

      The same way as the previous bug, when I click on the PayPal button a popup opens and closes a few seconds later without showing anything.
      This is when I choose an option on the checkout page, via this plugin: https://woocommerce.com/products/woocommerce-checkout-add-ons/

    • #129957
      MaxenceTP
      Participant

      In a basket I put 2 products with different sellers. But these sellers have the particularity to have the same paypal account.
      The seller receives the money on his account, but in 2 transactions, he pays twice the PayPal fees: https://prnt.sc/1y3bmn8

      Can you make it possible to group the payments that go to the same paypal address in the same order?

    • #129958
      MaxenceTP
      Participant

      I also have this error that spams every 10 seconds in the debug logs, while no one is on the site:

      2021-11-01T21:56:19+00:00 INFO Response Message: Array
      (
          [name] => VALIDATION_ERROR
          [message] => Invalid data provided
          [debug_id] => 5be0fef4b5862
          [information_link] => https://developer.paypal.com/docs/api/webhooks/#errors
          [details] => Array
              (
                  [0] => Array
                      (
                          [field] => url
                          [location] => body
                          [issue] => Not a valid webhook URL
                      )
      
              )
      
          [links] => Array
              (
              )
      
      )
      Copy

      Thank you for your help

    • #129959
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #129960
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #129982

      Hi,
      As per our default flow we do not support third party plugin for paypal payment.
      The plugin that you have used is a paid plugin and we only support payment on default wocoomerce checkout page.

    • #130002
      MaxenceTP
      Participant

      Yes exactly, it’s an official Woocommerce (paid) addon.
      However you can connect via FTP to my site and you will find the files on it if you need them.

      Is it possible to transfer the sales via this plugin to the admin?
      Or do you have another alternative to do the same thing?

      Have you been able to look into the other 2 bugs as well?

    • #130027

      129957 — This is not possible as per the current PayPal split payment API.
      129958 — this is not related to our plugin. Please check your Paypal account. There is an option to add a webhook. This may be the wrong URL. Just remove this to solve your issue. For more please contact PayPal.
      130002 — this is a third-party plugin. We need to check their code thoroughly. But maybe possible by custom code.
      Thanks

    • #130029
      MaxenceTP
      Participant

      129957 – It’s not Paypal that’s the problem, it’s when WCMp calls the paypal admin, he says to make payments to : vendor@gmail.com for 10€ AND vendor@gmail.com for 5€
      When you could do : vendor@gmail.com for 15€
      Since it’s the same email address.

      —-

      129958 – Alright, I’ll check that on my side

      —-

      130002 – Ok thank you, please keep me informed about how to fix that. It’s quite annoying as I can’t sell the extras that used to make up a large part of my income.

    • #130030
      MaxenceTP
      Participant

      About 129957, check the screenshot I sent to understand : https://prnt.sc/1y3bmn8

    • #130104

      Hi,
      130030 — This is the purchase unit payee. this is for split payment for the payee. We need to follow the Paypal API structure.
      130002 — This is a third-party plugin. And this is difficult for us to give compatibility by checking their total code. We have only given support with woocommerce checkout page (which is default by woocommerce). So please ask your paid plugin author to add their extra charge to checkout. Then it will automatically with our plugin. Because all the charge is added in checkout.
      Thanks

    • #130117
      MaxenceTP
      Participant

      130030 – Okay, but in that case, why would a seller with 2 products have only one transaction ? While 2 sellers with the same paypal address would generate 2 transactions

      130002 – I asked the question and was told it’s up to you to modify the plugin, how do we do that now? No one wants to deal with this and I paid for the 2 plugins that I can’t use together. It’s not normal… and nowhere does it say that plugins are not compatible.

    • #130202

      Hi,
      130030 — In the case of multi-seller payments, We have just passed payees to Paypal split payment API. Rest of the creation of the order, transaction and all automatically done by Paypal.

    • #130205
      MaxenceTP
      Participant

      Okay, never mind.
      Can you just help me with the 130002 ?

    • #130206

      130002 – I asked the question and was told it’s up to you to modify the plugin, how do we do that now? No one wants to deal with this and I paid for the 2 plugins that I can’t use together. It’s not normal… and nowhere does it say that plugins are not compatible.

      >> Adding compatibility of a third-party plugin (for a single user) in our main addon is difficult. However we do want to help you out by sending the extra value in one transaction.
      But in order to do that, we need help from that third party plugin author. Only they can inform us ho two fetch the extra addon value for each product/order.

      As you can understand without their help, I am afraid we are helpless too.

    • #130217
      MaxenceTP
      Participant

      I don’t think I’m the only one using this plugin, you won’t be making these changes just for me.
      You should contact them directly to ask your questions, I don’t need to be the intermediary, it would only slow down the correction of this problem.
      Here is the link to the plugin: https://woocommerce.com/products/woocommerce-checkout-add-ons/
      And the developers: https://www.skyverge.com/contact/

      If you need the plugin files, they are on my FTP which you have access to in the previous posts

    • #130682
      MaxenceTP
      Participant

      Hello,
      Were you able to contact the developer of Woocommerce Checkout addon ?

    • #130715

      @MaxenceTP, as you are a customer of this plugin, hence you need to contact the plugin author of extra addon plugin. Please do ask them on how two fetch the extra addon value for each product/order.

    • #130749
      MaxenceTP
      Participant

      My support license for this plugin expired several months ago, I don’t want to buy the plugin again just because of a compatibility issue.

      I’ll see if I can find more information about that

    • #130770

      @MaxenceTP, we would love to help you out, but checking out a third-party plugin code is quite difficult, that is why we needed their help.

    • #130788
      MaxenceTP
      Participant

      I spent several hours trying to understand the code of your plugin and testing various situations.

      I’ll take an example to make it simpler, I put in my cart a Woocomerce product sold at 10€, paypal : vendor@domain.com
      An additionnal fee is added, for any easy which is a Woocommerce Fee (WC()->cart->add_fee) for 5€ by the site, paypal : admin@domain.com

      To reproduce the problem it is necessary that the paypal admin account receives 0€ in this transaction. (This is for example the case of a seller who has 0% commission and receives the full payment of the customer)

      In the browser console you get the following error:

      Payee(s) passed in transaction does not match expected merchant id. Please ensure you are passing merchant-id=* to the sdk url and data-merchant-id=\"PLVTN4JDQA8AZG,7BVYXW3GDGDT82\" in the sdk script tag.
      Copy

      From there I understood that in the request to the API there is indeed the transaction of 10€ to vendor@domain.com and 5€ to admin@domain.com BUT in the source code of the site, more particularly of the paypal button, there is only the address of the seller: https://prnt.sc/200vkzg
      Whereas the admin’s email address should be added as he will receive part of the payment.

    • #130789
      MaxenceTP
      Participant

      So this is a WCMp PayPal problem (again, unfortunately..) and to reproduce it, add the following code to your child theme:

      add_action( 'woocommerce_cart_calculate_fees', 'maxence_add_fee_to_cart' );
      function maxence_add_fee_to_cart() {
         WC()->cart->add_fee( 'Add a random fee to the order', 5 );
      }
      Copy

      Now try to order a product where the seller’s email address is different from the admin’s address, and has 0% admin commission. You should have exactly the same problem as me.
      And I think there is exactly the same problem with shipping fees, but I personally don’t use them.

      Can you test this method on your own?
      Please let me know if you have the same problem, and if so, I’m looking forward to fixing this bug as soon as possible…

    • #130790
      MaxenceTP
      Participant

      Again, in case you didn’t understand, the “woocommerce-checkout-add-ons” plugin simply uses the Woocommerce function :

      WC()->cart->add_fee( 'Text', 5 );
      Copy
    • #130820
      This reply has been marked as private.
    • #130826
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130827
      MaxenceTP
      Participant

      If you don’t have the bug on your side it could be several things:
      – The seller must have a different email address than the admin
      – The seller must have 100% of the transaction (check WCMP, seller and product settings)

    • #130831
      MaxenceTP
      Participant

      In my opinion, to fix the bug, you have to add the amount of the Woocommerce fee within the function “wcmp_get_admin_amount_from_cart” of class-….-woocommerce-button-manager.php

    • #130832
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130855
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130856
      MaxenceTP
      Participant

      The more I test, the more bugs I discover, it’s disappointing.

      Here is a 4th bug to fix, in an order with a product from a seller who is not the admin (it doesn’t matter how much the admin is here) and a free product.
      The email address of the seller of the free product is added while he doesn’t receive anything in this transaction, so it creates an error

    • #130903

      Hi,

      Our replies are inline with yours-

      -thread #130826
      Here is a video from my side:
      https://www.loom.com/share/f535d7418e1a4ffc9236703e54aa643e
      I show you everything that you can exactly reproduce it as soon as possible. I really need a fix for that

      >> We tried to recreate this on our end but didn’t face any such issues. Here is the video link:
      https://www.awesomescreenshot.com/video/6115489?key=de08edeb0e4ceb67cfc1924a54aa9254

      =========================================================================================================================================================

      -thread #13082
      If you don’t have the bug on your side it could be several things:
      – The seller must have a different email address than the admin
      – The seller must have 100% of the transaction (check WCMP, seller and product settings)

      >> The default flow of Paypal, split payment is such that, in order to make split payment admin and vendor need to have different email address.

      =========================================================================================================================================================

      -thread #130832
      To reproduce the bug :
      – A vendor with 100% commission (so the admin gets the payment)
      – A vendor at 0% commission (so the vendor receives the payment)

      >> We tried to recreate this on our end but didn’t face any such issues.
      Here is the video link:
      1.https://www.awesomescreenshot.com/video/6115644?key=22683e698eb44c62044f6494c2b34d8e
      2. https://www.awesomescreenshot.com/video/6115716?key=df05306feeeb59990bc472755b2edbd9

      ========================================================================================================================================================

      -thread #13085 and thread #130856

      Kindly explain your issue a bit in details along with screenshots and videos.

    • #130917
      MaxenceTP
      Participant

      #130826 : At 1:25, the payment method of the vendor is not set on PayPal : https://prnt.sc/20j7cgt

      #130832 : Same as 130826, the payment method is not on PayPal. And you have to put the 2 products in your cart (the one from the 0% vendor, and the one from the 100% vendor)

    • #130919
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130920
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130921
      MaxenceTP
      Participant

      If you would like to discuss this with me via voice and screen sharing via Zoom, Teams, Google Meet etc., please tell me your availability and I will set up a meeting.
      It will surely be more efficient than here

    • #130916
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130918
      MaxenceTP
      Participant
    • #131061
      MaxenceTP
      Participant

      Hello, sorry for the up but can I get the fixs quickly ?
      These are a really important bugs :/

    • #131145
      MaxenceTP
      Participant

      There is another bug in wcmp_get_admin_amount_from_cart, with this condition :

      // If there is a non vendor product
      if (!empty($non_vendor_product)) {
          return true;
      }
      Copy

      If there is a non-vendor product, but it’s a free product, wcmp_get_admin_amount_from_cart return true even if the admin commission is 0

    • #131192
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131211
      This reply has been marked as private.
    • #131227
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131228
      This reply has been marked as private.
    • #131328
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131334
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131335
      This reply has been marked as private.
    • #131338
      This reply has been marked as private.
    • #131341
      MaxenceTP
      Participant

      Thank you for your call,

      The following bugs remain to be fixed on WCMp PayPal and I think there is a way to solve them:
      – #130789 : if there is a fee in the order, add the admin in the “merchant-id” if it is not already there
      – #130832 (what I saw with @Moumita): check that the seller will receive a commission > 0 before adding him in the “merchant-id” array
      – #130855: I don’t know how to solve it
      – #130856: This should be fixed if #130832 is fixed
      – #131145: Check that the price of the product without seller is > 0

      I hope this will help you to fix these bugs, thanks

    • #131342
      MaxenceTP
      Participant

      With WCMp Paypal, there is also this bug which is another thread : https://multivendorx.com/support-forum/topic/payment-detail-on-paypal-with-wcmp-paypal/
      If you can fix it will this release that can be really great.

      Others threads are not related to PayPal plugin

    • #131343
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131417
      This reply has been marked as private.
    • #131423
      MaxenceTP
      Participant

      Hello, that might be because the plugin Woocommerce was desactivated.
      I removed the custom code that call it.

      It’s now working again, you can test

    • #131546

      Kindly provide us some time. Our team is looking into it.

    • #131548
      MaxenceTP
      Participant

      Ok thank you, I hope this can be fixed in few days, I’m losing many customers that don’t take time to ask why it’s not working :/

    • #131566
      MaxenceTP
      Participant

      Another problem I don’t understand with the transaction fees. In your code you take the fees of the first transaction only and you put this information in the parent order: https://prnt.sc/21pabld

      It’s totally wrong, you should put _paypal_fee in each child order or put the TOTAL fees in the parent order.

    • #131567
      MaxenceTP
      Participant

      And it’s exactly the same problem as for the transaction id, seller protection, payment status: https://prnt.sc/21pah02

      Why does everything work halfway? It’s absolutely not normal that I’m reporting such big problems, you should have noticed it during your tests before selling 100$ the plugin.

    • #131568
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131565
      MaxenceTP
      Participant

      Another problem I don’t understand with the transaction fees. In your code you take the fees of the first transaction only and you put this information in the parent order: https://prnt.sc/21pabld

      It’s totally wrong, you should put _paypal_fee in each child order or put the TOTAL fees in the parent order.

      And it’s exactly the same problem as for the transaction id, seller protection, payment status: https://prnt.sc/21pah02

      Why does everything work halfway? It’s absolutely not normal that I’m reporting such big problems, you should have noticed it during your tests.

    • #131624
      This reply has been marked as private.
    • #131663
      MaxenceTP
      Participant

      Hello, the IP adress has changed, check my reply #131192

      I don’t have any idea about the plugin, but why you want to desactivate it ? The bugs are related to this plugin.
      I’ll be available tomorrow, just send me the meet link

    • #131684
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #131721
      This reply has been marked as private.
    • #131813
      MaxenceTP
      Participant

      Ok, I’m waiting for the bugs fixs

    • #131991

      Hi,
      We have released a new update and fixed the issue.
      Kindly update the plugin and check.

    • #132003
      MaxenceTP
      Participant

      I did see your v1.0.3 version but it’s actually the files I already had on my site (you sent me a google drive). There has been no change in the code from all the bugs reported in my reply #131341.
      All the bugs are still there and exactly the same.

    • #132010
      MaxenceTP
      Participant

      Yes I did the update, but I still have the same bugs.
      So I compared the files and I didn’t see any change from the Google Drive you sent me, except for the version number.

      Can you check that you have put the right files on your site?
      If so, can you tell me where you made a specific change to check that I have the right files?

    • #132043

      @MaxenceTP, as you are facing the issues related to the vendor’s payment (specific to your account), can you share your PayPal Sandbox access, so we can check.

      If needed we will communicate with the PayPal team regarding your account.

    • #132063
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #132095
      This reply has been marked as private.
    • #132100
      MaxenceTP
      Participant

      Please check that you are on the site: https://www.sandbox.paypal.com
      These credentials are correct, they are sandbox credentials to test, not a real paypal account.

      If you are talking about the paypal.com account I obviously can’t provide it, it’s a company account in production, I’m not allowed to do that.
      You have however all the information to use my PayPal sandbox application to reproduce the problem at home.

      I think you’re just making it a bit harder for yourself, in reality you just have to make sure that the email addresses in “merchant-id” are the exact same (not +, not -) as the ones that are going to receive a part of the payment.
      Most of the bugs I reported will be fixed if you add the necessary conditions for “merchant-id” to be correct. And for that, the first thing to do that will fix one or two problems is to check if the seller receives a commission > 0 in this order before adding it in “merchant-id”.

    • #132130

      Hi, I have created a new order in your site using the below scenario :
      – A vendor with 100% commission (so the admin gets the payment)
      – A vendor at 0% commission (so the vendor receives the payment)

      As you can see here, we didn’t face any issue with the payment : https://watch.screencastify.com/v/hRc6ki8otJ898dtHw4xf

    • #132174
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #132209
      This reply has been marked as private.
    • #132211
      MaxenceTP
      Participant

      Is it possible to fix it before January?
      This thread has been open for more than 2 months already

    • #132798
      MaxenceTP
      Participant

      It is almost the end of the week. Were you able to fix the bug?

    • #132799

      We need full access right i.e. edit/delete plugins. Without that, we can’t proceed with the tests.

    • #132819
      MaxenceTP
      Participant

      I tested to confirm, you do have access to all the files on www-data which is the WEB server.
      I was able to open and modify any file in wordpress with your account

    • #133514
      MaxenceTP
      Participant

      Is it good? Or are you still having problems with permissions?

    • #133740

      Hi,
      Kindly update WC-Marketplace plugin and then go to Payments section and set global admin comission as 100 and vendor comission as zero “0” for that vendor which you want and make the payment and check again.

      This was the flow as told by Moumita.

      P.S- This was not the error of Paypal Marketplace. As per our old flow we didn’t used to allow to set vendor comission as zero. But now we have changed this flow. So kindly update the plugin and check again.

    • #133899
      MaxenceTP
      Participant
    • #134375

      @MaxenceTP, we are closing this thread and will carry on the communication at this thread: https://multivendorx.com/support-forum/topic/payment-detail-on-paypal-with-wcmp-paypal/

Viewing 89 reply threads

The topic ‘Paypal : Only two decimal place precision is supported’ is closed to new replies.