Support » Plugin: Woocommerce Ripple Gateway » Conversion rate not working

  • I just installed this pluin to try, it doesn’t seem to work.
    1st problem) there is no place to add Destination Tag
    2nd problem) the convertion rate is always (1 USD = -999.999999 XRP)

Viewing 8 replies - 1 through 8 (of 8 total)
  • -1000 EURO’s, but same problem

    I have the same problem. Bummer.

    I got the amount of Ripple to display correctly.

    Edit class-ripple-exchange.php.
    Change:
    $url = ‘https://api.coinmarketcap.com/v1/ticker/xrp/?convert=’ .
    to
    $url = ‘https://api.coinmarketcap.com/v1/ticker/ripple’ .

    Change:
    $result = json_decode(wp_remote_get($url));
    to
    $result = json_decode(wp_remote_retrieve_body(wp_remote_get($url)));

    Change
    $rate = isset($result->error) ? false : $result->$key;
    to
    $rate = isset($result->error) ? false : $result[0]->$key;

    for me it worked with
    $url = “https://api.coinmarketcap.com/v1/ticker/ripple”;
    without . and any currency after that.. I know that like that it is working only for USD

    Same problem, and the solutions listed above don’t solve it. Blanks my whole website out.

    Pay online using your favorite crypto currency, Ripple.

    AMOUNT (1 USD = -999.999999 XRP)
    -999.999999

    Can someone please tell me where to edit this coding. Having same issue but I’d like to give it a shot

    Payment Confirmation Not Working

    timeout reload not works fine

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Conversion rate not working’ is closed to new replies.