WebSite X5Help Center

 
Francis J.
Francis J.
User

Custom code for Flutterwave checkout  en

Author: Francis J.
Visited 1372, Followers 1, Shared 0  

Please Help me out with this codes

i am not getting total value from my cart

thanks

<formmethod="POST"action="https://checkout.flutterwave.com/v3/hosted/pay">

<inputtype="hidden"name="public_key"value="FLWPUBK_TEST-SANDBOXDEMOKEY-X"/>

<inputtype="hidden"name="customer[email]"value="***"/>

<inputtype="hidden"name="customer[phone_number]"value="0900192039940"/>

<inputtype="hidden"name="customer[name]"value="Jesse Pinkman"/>

<inputtype="hidden"name="tx_ref"value="bitethtx-019203"/>

<inputtype="hidden"name="amount"value="3400"/>

<inputtype="hidden"name="currency"value="NGN"/>

<inputtype="hidden"name="meta[token]"value="54"/>

<inputtype="hidden"name="redirect_url"value="https://demoredirect.localhost.me/"/>

<buttontype="submit">CHECKOUT</button>

</form>

My Paul M.

Can you help me work on this code, i am missing something and rearrangment 'id' 'order number' 'total price'

thanks

again

Posted on the
2 ANSWERS - 1 USEFUL - 1 CORRECT
Paul M.
Paul M.
Moderator

Hello Francis,

<form method="POST" action="https://checkout.flutterwave.com/v3/hosted/pay">

<input type="hidden" name="public_key" value="FLWPUBK_TEST-SANDBOXDEMOKEY-X"/>

<input type="hidden" name="customer[email]" value="[EMAIL]"/>

<input type="hidden" name="customer[phone_number]" value="[PHONE]"/>

<input type="hidden" name="customer[name]" value="[NAME]"/>

<input type="hidden" name="tx_ref" value="[ORDER_NO]"/>

<input type="hidden" name="amount" value="[PRICE]"/>

<input type="hidden" name="currency" value="NGN"/>

<input type="hidden" name="redirect_url" value="https://demoredirect.localhost.me/"/>

<input type="submit" value="Buy Now">

</form>

Remember to change the values for "public_key" and "redirect_url" to suit your own Flutterwave account and website.

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.
Francis J.
Francis J.
User
Author

Thanks as always.... You are the man. kiss kiss

Read more
Posted on the from Francis J.