Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterHello,
1. You can cancel your recurring payment via paypal at any time, and at the next billing session your subscription will go back to free.
2. I haven’t tested pruned nodes but they should work, at least in theory. I don’t see why not. If they don’t, please let me know.
3. Generally the plugin does not communicate with MyCred.
However, you can use the PHP API to override any user balance. Please see: https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html#method_api_balance_filter You will need some knowledge of PHP to do this. Hook into the filter with a priority higher than 10 and override the balance value with whatever value MyCred gives you for the requested user…
with regards
alexg
KeymasterI understand. I did not know this.
Unfortunately it is impossible for me to work on something that is that specific.
On the other hand, if the service offers API docs, and if you were to hire a PHP developer, I can provide guidance to them for interconnecting to the plugin.
As for your other question, there is no specific number. The plugin is built to run on sites with up to a few thousand users at most, anything over that and you might run into scalability issues, depending on your hardware, plugin settings, and services offered.
with regards
alexg
KeymasterHello,
Do not attempt to edit the plugin code. To see why, check the FAQ under “I want to do changes to the plugin’s code.” If you wanted to provide alternative knockout templates, you’d use the
wallets_views_dir
filter to specify another directory on your server where you could copy and modify all the knockout views. However, there is no need to do all this in your case:Instead, design your own HTML form in any way you like. Then, make it so that when it is submitted, you use JavaScript to call the JSON API yourself. The JSON API is documented in the accompanying PDF documentation, under APIs -> Wallets JSON API -> Withdraw funds to an external address. To see how the plugin does the calls: https://github.com/dashed-slug/wallets/blob/4.2.0/assets/scripts/wallets-ko.js#L717-L753
Just make sure to pass the correct fields to the call, and you will get a JSON response indicating success/failure. For the
_wpnonce
field, just pass the value ofwp.wallets.viewModels.wallets.nonces()['do_withdraw']
Please let me know if you need any help with any of this.
with regards
alexg
KeymasterThank you for the clarification.
Apologies, indeed I had misunderstood your question.
If you are looking to offer your own visa or mastercard cards, connecting to this plugin is the least of your problems. I have never looked too much into this, but I believe it is a somewhat difficult task for a small to medium website/business. You would need to first register as a payments processor, which is something that banks and institutions usually do.
In any case, if you were to acquire all of the appropriate licenses and infrastructure, and if you then insisted on connecting your service with this plugin: It would then be a matter of creating a coin adapter that communicates with the API that you use for your cards system. Not an easy task, but definitely easier than all of the other things that you would need to do.
I don’t think this is a very viable strategy but perhaps you know something I don’t. If so, please let me know.
with regards
alexg
KeymasterHello Joe,
The button uses JavaScript to duplicate a row to the form.
Your screenshot indicates that there are no rows at all in the table. Normally the plugin forces you to keep at least one market (you cannot delete the last one).
Try this:
1. deactivate the Exchange
2. unistall it
3. install the exchange again and activate it (this will populate the table with one row).Let me know if this didn’t work. Also, if the above solution did not work, please tell me the following:
1. are you on a multisite WordPress installation?
2. If so, is the plugin network activated or not?
3. Do you see any errors in your JavaScript console when you are the Markets settings page?with regards
alexg
KeymasterHello,
Actually it is by design that I have not provided a way to accept credit card payments in the plugin.
The reason is chargebacks which can be used to scam you; crypto transactions are irreversible, while cc payments can be reversed up to 30 days later.
I have provided a more detailed explanation of this here: https://www.dashed-slug.net/forums/topic/feature-request-deposit-options/#post-5977
with regards
alexg
KeymasterThank you. Yes, ShapeShift does have this limitation.
I did not provide enough details in my previous post.
I do plan to add an instant market order in the near future. Users of the exchange can then have a choice of limit or market orders. An instant order will either execute (possibly with some slippage) or fail if there is not enough liquidity. It does not matter if the coins are fiat or crypto, the implementation would work for all coins. The instant market order will not be part of the next release of the Exchange, but will come soon after.
What is often requested, however, is to “package” this into a nice UI where people can send coins to an address and receive them on another address at the other chain. This is what services like ShapeShift do, and this would be an extension of its own: It would have to expose an API, make some kind of estimate/guarantee to the user about maximum slippage, and handle any failures gracefully. Thus I don’t have time to develop such an extension at this time. Perhaps in the far future.
with regards
alexg
KeymasterThanks for finding this.
There is a minor bug here – if the plugin does not find any users, it still attempts the SQL query and fails, thus writing what you saw in the logs. I will fix this in the next patch.
But the main problem remains: I am still not sure why the extension doesn’t find any users with your specified role.
alexg
KeymasterHi Alex,
ShapeShift doesn’t support much coins available within CoinPayments.
Maybe it would be great to have an instant function for fiat-coin and coin-fiat only? or is this still as complicated as the coin-coin function?
alexg
KeymasterHello Philipp,
Yes, this is a feature that I would like to add.
It will have to go into JSON API 4, which requires some work before it’s ready.
I will keep you updated on this thread.
with regards
alexg
KeymasterNo, no reason at all that I can think of.
After enabling the WordPress debug logs, do you see any error in your logs printed out at the moment you perform the airdrop?
alexg
KeymasterHello,
I have received this request several times. It is a lot harder to implement than you’d think.
Does the ShapeShift extension not work? Did you encounter a problem with it?
Back when ShapeShift started requiring KYC/AML I received a bunch of requests for alternative services and I have started implementing a Changelly extension, but this is delayed due to other work that has higher priority.
I do not plan to implement an instant exchange feature that does not use a third party service.
with regards
March 29, 2019 at 5:44 pm in reply to: Not recognizing same wallet but different address transfers #6082alexg
KeymasterHello again,
Actually, it is not the case that the wallet did not notify the plugin. It is the other way around:
The plugin did not notify the wallet, because in these cases, it does not need to. It performed an off-chain transaction instead.
The withdrawal was changed into an internal transfer. This is by design. You should be able to see the internal transfer, and if you have default settings for notifications, the users would have received all the related notification emails.
Before I added this feature, there were some serious problems associated with withdrawing to an address that was also a deposit address in the same system. I had to introduce this feature, but also it makes much sense: there is no need for a blockchain transaction since all the funds of all custodial wallets are backed by the same “pool” of wallet funds. The sender would then only get charged the much smaller internal transaction fees, rather than paying for miner fees.
Can you look into your transaction list? These users should be able to see the internal transactions. If you require user confirmations for internal transactions, then the sender would have received an email request to confirm the transaction by clicking on a link.
Please let me know if you can’t find the associated transaction.
with regards
P.S. I have moved the topic to the general discussion since this has nothing to do with the full node adapter, it is a feature of the parent plugin.
alexg
KeymasterHello,
I was unable to reproduce the problem.
I used the plugin you suggested.
1. I created a new role.
2. I went to Users -> (picked a user) -> Capabilities, then assigned the new capability as a secondary capability.
3. I performed an airdrop to that user role. As a test, I used a “Fixed amount airdrop” and I set the “Variable amount airdrop” factor to 0, to keep things simple. The airdrop was applied correctly to the user with the new role only.
The plugin uses the
get_users()
function to retrieve users with the specified role.Can you check again? What parameters did you use? Can you verify the above procedure?
with regards
alexg
KeymasterYour
.htaccess
file seems to redirect correctly a cron URL trigger to the WordPress index.php.Could you please try to answer the other questions I posted earlier? Without this info, it’s impossible to know what went wrong.
thanks
-
AuthorPosts