• Resolved pandglobal

    (@pandglobal)


    I have been trying to integrate this plugin with gravity forms but no headway, are you planning on adding it to gravity forms so users pay using bitcoin before submitting the form?

    Or i still want to autopopulate bitcoin price into gravity forms field using this hook

    add_filter( ‘gform_field_value_your_parameter’, ‘my_custom_population_function’ );
    function my_custom_population_function( $value ) {
    return ‘boom!’;
    }

    Instead of returning boom, it should return the current bitcoin price inside the field, please help me write a function that i can use for this instead of the boom word.
    I got this hook from https://docs.gravityforms.com/using-dynamic-population/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author gourl

    (@gourl)

    We will add it in the next releases.
    You can change return ‘boom!’;
    to
    return gourl_bitcoin_live_price(“BTC-USD”); // BTC-EUR, BTC-AUD, etc.

    Thread Starter pandglobal

    (@pandglobal)

    Okay but what about other currencies! and what if i want to create USD to btc i should reverse it right?

    Thread Starter pandglobal

    (@pandglobal)

    Secondly pending when you add it to the new release i don’t know how soon it can be or plan to do it, but currently am working on a projects and am using the buy now button all i need from you is a strong api or callback request function that will submit gravity form only when payment reaches 5 confirmations.
    Because i need the projects, just like setting the success url to a function that will submit gravity form.

    Thread Starter pandglobal

    (@pandglobal)

    The above code only shows usd value of one bitcoin. how can i also get the bitcoin rate, i want the value to be in bitcoin price not usd, i have changed USD-BTC yet it shows up as USD $7012 and i noticed is slightly different from google price.

    Thread Starter pandglobal

    (@pandglobal)

    Please i need update, have the function for gravity payment be added?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Integration with gravity forms’ is closed to new replies.