dashed-slug.net › Forums › WooCommerce Cryptocurrency Payment Gateway extension support › When attempting to refund LTC from a WCMP Order.. I get insufficient funds error
Tagged: multivendor
- This topic has 8 replies, 3 voices, and was last updated 5 years, 1 month ago by
alexg.
-
AuthorPosts
-
April 20, 2020 at 7:35 am #8155April 20, 2020 at 7:40 am #8160
d3vnu77
ParticipantGoing through this info now:
April 20, 2020 at 8:34 am #8161alexg
KeymasterThank you for providing detailed information about the issue.
Unfortunately the gateway is somewhat hard to use. There was no API with which to extend WC Marketplace with payment gateways, so I had to improvise as I went along. If it turns out that the gateway does not work, then I will take the decision to decommission it.
However, I have tested refunds multiple times, and I know that they work, at least when certain conditions are met.
In your case, it looks like you attempted to perform a refund, but it did not go through, because the price of Litecoin has changed in the mean time. The amount refunded is calculated in the store currency, but is returned in the currency the user initially paid.
Therefore, if the admin account had more Litecoin, the refund would have been executed.
As a sidenote, I do not know if the Marketplace plugin or the crypto gateway are compatible with the RMA plugin you mentioned.
Yes, please do check the information given in the other thread related to refunds. I will add this information to the homepage soon.
with regards
April 20, 2020 at 9:48 am #8162d3vnu77
ParticipantHere is the flowchart I’m looking achieve. Looks like I will have to code a bit for this one. It’s late for me here, going to hit the sack.
Let me know if you see anything glaringly wrong with what I’d like to do here. Or improvements, ideas.
Will be using your wallet API to issue refunds via cron jobs I think.
Attachments:
You must be logged in to view attached files.April 20, 2020 at 10:18 am #8165Anonymous
InactiveHie Mr Alex, please don’t discontinue the getway, many of us depend on it as we speak
April 20, 2020 at 10:24 am #8166alexg
Keymaster@alecmtetwa I will not discontinue it, but at the same time I am not in a position to do the improvements that I’d like to do.
If you currently rely on it, that means it’s working.
The main issue here is that it works in some cases and not in others. I will have to write up in which cases it works.
@d3vnu77 Your flowchart looks good. The difficulty will be in implementing it.April 20, 2020 at 11:33 am #8167d3vnu77
ParticipantAny particular reason you choose WCMP as the marketplace you mentions in the plugin directions? Have you tested with any other vendor marketplace solutions?
April 21, 2020 at 7:26 am #8168alexg
KeymasterWCMp was requested by several people at the time and it seemed popular.
In retrospect maybe I should have chosen Dokan as it is more popular and possibly better.
In any case, the problem is elsewhere: None of these plugins seem to come with instructions on how to develop additional payment gateways for commissions, so any solution is going to be a hack.
with regards
-
AuthorPosts
- You must be logged in to reply to this topic.