I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

alexg

Forum Replies Created

Viewing 15 posts - 226 through 240 (of 2,211 total)
  • Author
    Posts
  • in reply to: Moved: Unable to pay via PayPal #10965
    alexg
    Keymaster

    Hello,

    Thank you for your interest in the plugin and its extensions.

    I don’t know why your card is not accepted.

    If your card is not accepted for whatever reason, you could also pay via cryptocurrencies. If you wish to do so, please do the following:

    1. Select the membership plan that you want from https://www.dashed-slug.net/dashed-slug/membership-plans/

    2. Send the equivalent of the USD amount to one of the following addresses:

    Bitcoin Address: 1DaShEDyeAwEc4snWq14hz5EBQXeHrVBxy
    DOGE Address: DASHEDj9RrTzQoJvP3WC48cFzUerKcYxHc
    LTC Address: LdaShEdER2UuhMPvv33ttDPu89mVgu4Arf
    USDT on BEP2 address: bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23 memo: 105403902

    3. Email me again with your selection of membership plan, the TXID and the email you used to sign up.

    I will then activate your membership manually.

    with regards,
    Alex

    P.S. I have moved your post to a new thread, as it was not related to the other thread.

    in reply to: Wallet Deposit Being Charged Fees #10951
    alexg
    Keymaster

    Hello,

    I understand.

    Unfortunately there’s no filter to control the deposits. Moreover I am not accepting feature requests for the plugins at this time due to the upcoming release. I only fix bugs.

    The deposit is created at the IPN handler, function action_parse_request, and the fee set is the one reported by the IPN handler:

    if ( 'deposit' == $_POST['ipn_type'] ) {

    $txrow->fee = sprintf( '%01.8F', $_POST['fee'] );

    in reply to: Minimum withdrawal amount #10928
    alexg
    Keymaster

    Hello,

    There is no setting for the minimum withdrawal amount for custom coins, since these coins cannot normally be withdrawn (or deposited). If you have developed your own mechanism for withdrawing/depositing such coins, then this is where you should be checking the withdrawal amount against any limits you want to place.

    Moreover, the available balance is not related to this. Available balance is the part of the user’s balance that is not currently locked in pending transactions or in market orders on the Exchange extension. This is not a feature that you can control; rather, user balance is split into “available” and “unavailable” to guard against double-spends.

    with regards

    in reply to: Modifying the fiat withdrawal form #10920
    alexg
    Keymaster

    Hello,

    OK I understand. Here’s how you can hack the code to do this:

    1. Before changing the plugin code, read and understand the FAQ section “I want to do changes to the plugin’s code.”.

    2. To change the validation code, check out the file: wp-content/plugins/wallets-fiat/assets/scripts/wallets-fiat.js. You want to remove the validation extenders.

    For example, where you see:

    self.fiatWithdrawRoutingNum       = ko.observable( '' ).extend( {
    	validation: [
    		{
    			validator: function( val ) {
    				if ( 'undefined' == typeof( val ) ) {
    					// do not show error while initializing the form
    					return true;
    				}
    				if ( self.fiatWithdrawMethod() != 'routing' ) {
    					// do not validate this field if not used
    					return true;
    				}
    				return val.match( /^\s*\d{9}\s*$/ );
    			},
    			message: wallets_fiat_i18n.routingnum_invalid
    		}
    	]
    } );
    

    The above would become:

    self.fiatWithdrawRoutingNum = ko.observable( '' );

    Ensure that you remove the .extend() parts only, from all observables.

    If you edit the JS file, you must also remove the minified version of the file (wallets-fiat-0.6.3-beta.min.js), so that the plugin will choose to load the unminified version. Alternatively, you can minify the edited version yourself.

    3. The withdraw template is in wp-content/plugins/wallets-fiat/templates/withdraw.php. You can edit the file yourself, or copy it, or better yet, you can modify the labels using the provided filters, like so:

    add_filter(
        'wallets_fiat_ui_text_iban',
        function( $label ) {
            return 'YOUR OWN LABEL TEXT GOES HERE';
        }
    );

    I think that’s it. Just keep in mind that all of this will soon change and become much easier.

    with regards

    in reply to: Modifying the fiat withdrawal form #10912
    alexg
    Keymaster

    Hello,

    You are right, I am aware that currently it is not possible to edit the fields in the [wallets_fiat_withdraw] shortcode without modifying the plugin code.

    I have provided support for the most common banking systems, but it’s not possible for me to add such features for every possible payment system.

    Furthermore, I am not currently accepting any new feature requests before the wallets6 release.

    Having said this; with wallets6, the UI markups are encapsulated together with their JS and CSS code, so that all the code will be easily overridable via the templating system. Furthermore, the fiat coin adapter is being deprecated as a separate adapter, and will be merged into the parent plugin as “Fiat Bank Wallet adapter”.

    Once wallets6 is released, I can provide you with instructions on how to modify the template.

    with regards

    P.S. I have moved this thread into the Fiat coin adapter forum.

    alexg
    Keymaster

    Hello,

    1. First of all, why are you attempting to edit the secrets directly via the DB? You should be entering the secrets in the plugin’s UI, under the coin adapter settings. Did you encounter problems with this?

    2. The secrets are saved as transients, not options. They are not shown in the input boxes, but are used when the coin adapter issues commands to the wallet. So, do not expect to see the input boxes filled.

    3. If the plugin and the coin adapter are network-activated, then all transients are saved as site-transients (in the wp_sitemeta table). This is what it looks like:

    SELECT * FROM wp_sitemeta WHERE meta_key LIKE '%rpc-password%';
    +---------+---------+--------------------------------------------------------------+-------------------+
    | meta_id | site_id | meta_key                                                     | meta_value        |
    +---------+---------+--------------------------------------------------------------+-------------------+
    |   31930 |       1 | _site_transient_trtl-ARMS-settings-rpc-password              | a2coinrpcpassword |
    +---------+---------+--------------------------------------------------------------+-------------------+

    Check to see if your password is saved in this table.

    If not, it’s possible that the coin adapter is both network-active AND active on a single site in your network: Network-deactivate the adapter, check on each site to see if you also need to deactivate the adapter, and then, network-activate the adapter.

    4. If you cannot connect, it may be due to some other reason. For example, if you’ve transferred the wallet to another site, the wallet file will be different. If you want to use the live wallet in your dev environment, you must rename the file to match the name of your dev machine.

    5. Since you mentioned that the adapter can’t connect to the wallet, what is the error message that you see in Wallets -> Adapters -> Adapter Status?

    If the above didn’t help, let me know and provide as much information on the above points as possible.

    Thank you.

    with regards

    in reply to: Wallet Deposit Being Charged Fees #10876
    alexg
    Keymaster

    Hello,

    I also checked again.

    For CoinPayments deposits, the fee shown to the user is the fee reported by the IPN message, which should be the 0.5% deposit fee. I don’t see how the deposit fee could be confused with the withdrawal fee.

    Furthermore, the fee on deposit entries to the ledger do not affect user balances. They are there simply to show the user what was paid as fees to the CoinPayments platform.

    If you think something is wrong, can you please show me as much data as possible? i.e. a deposit transaction, as shown in the plugin and on the blockchain?

    with regards

    in reply to: Wallet Deposit Being Charged Fees #10868
    alexg
    Keymaster

    Hello,

    The plugin operates as expected.

    The CoinPayments platform imposes a 0.5% deposit fee for all deposits. For more information see here: https://www.coinpayments.net/supported-coins

    If you do not want to have any deposit fees, you must use your own full node wallets. However, there is no ERC-20 adapter available at this time, only forks of Bitcoin, Monero, and TurtleCoin can be connected as full node wallets to the plugin.

    The MAX_CONFIRMS column is there for these other full node wallets. You can ignore it when you use CoinPayments. The CoinPayments platform makes its own decision on how many confirmations it requires before it considers a deposit confirmed. This information is also listed at the above link (Supported Coins).

    with regards

    P.S. I am transferring this discussion to the CoinPayments support forum, as this only relates to the CoinPayments adapter.

    in reply to: Buying Crypto with Fiat currency on the exchange. #10867
    alexg
    Keymaster

    @Topicxchangetrader

    Hello,

    It is not possible to set an exchange rate. This is not really a swapping feature, it is simply a frontend to the Exchange’s markets.

    To set an exchange rate, you, or others, must first place limit buy/sell orders on the orderbook. Therefore, the exchange rate is derived from these orders.

    Once a user deposits a Fiat currency via bank transfer and the admin inserts the fiat deposit, the user’s fiat balance is updated.

    Then, the user can trade on markets involving that fiat currency.

    If the market on which the user trades is against a cryptocurrency, selling that fiat currency will result in the user having more balance on that cryptocurrency.

    The user can later choose to withdraw that cryptocurrency using the [wallets_withdraw] shortcode.

    Please let me know if you have any more questions about all this.

    with regards

    in reply to: Exchange rate for custom coins #10866
    alexg
    Keymaster

    Hello,

    I am not sure why this would be the case.

    Can you please provide the following information:

    1. What code did you use to set the exchange rate information? Can you show me here or email me the full code you used?

    2. What do you mean by “doesn’t calculate the rate properly”? What output do you see? Can you provide a screenshot?

    Thank you

    with regards

    in reply to: How to create P2P exchange #10865
    alexg
    Keymaster

    Hello,

    I am not sure what you mean by P2P exchange.

    This is a stand-alone, orderbook-based exchange, and it operates as described in the Exchange extension’s homepage: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/exchange-extension/

    Meaning that, for a trade to occur, there must be limit orders on the order book. When the orderbook is non-empty, users can place limit and market orders. (To clarify a common point of misunderstanding, there is no importing of liquidity or price information from other marketplaces.)

    A detailed guide for how to set up some markets using this extension can be found here: https://www.dashed-slug.net/howto-setup-a-cryptocurrency-exchange-on-wordpress/

    Please let me know if you have any specific questions on this.

    with regards

    in reply to: No currencies are currently enabled. #10805
    alexg
    Keymaster

    OK thanks for letting everyone know how you resolved this.

    Hopefully you can use the security plugin without that feature, or use another security plugin.

    The general idea is that there shouldn’t be JavaScript errors.

    wallets6 will be much more tolerant of JavaScript errors in other components.

    with regards

    in reply to: Exchange rate for custom coins #10804
    alexg
    Keymaster

    Hello,

    You can force the plugin to think that a currency has a specific exchange rate using some custom code that you can put in a PHP file and activate it like a plugin.

    A full example is here:

    https://gist.github.com/alex-georgiou/492196184f206002c864225180ca8fbb

    The example declares two custom currencies in the exchange rates system, and also sets a few exchange rates.

    This will allow the plugin to show equivalent amounts in other currencies below the actual amounts. You can also have customers checkout a woocommerce cart with custom currencies, if the exchange rate is known between that currency and the shop’s default currency.

    Please let me know if you have any questions about this.

    with regards

    in reply to: How to display balance for custom coin #10802
    alexg
    Keymaster

    Hello,

    The [wallets_balance template="list"] UI has a checkbox where the user can choose to either see all balances, including zero balances, or only the non-zero balances.

    Hope this helps.

    with regards

    P.S. I am moving this entire thread to the General discussion, as it’s not related to the Fiat Coin adapter extension.

    in reply to: How to display balance for custom coin #10794
    alexg
    Keymaster

    Hello,

    First of all, clicking on the “Max” button will fill in the amount that you can withdraw.

    You can also display the balances using the [wallets_balance] shortcode and its variations.

    For example, if you want to simply display the current user’s balance of coin with symbol XYZ, you can do:

    [wallets_balance template="static" symbol="XYZ"]

    To learn more about the available shortcodes and how to use them, please see:

    Wallet shortcodes

    Let me know if you have any more questions about the user balance shortcodes.

    with regards

Viewing 15 posts - 226 through 240 (of 2,211 total)