WebSite X5Help Center

 
Francis J.
Francis J.
User

Custom code for Flutterwave checkout  en

Autore: Francis J.
Visite 1369, Followers 1, Condiviso 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

Postato il
2 RISPOSTE - 1 UTILE - 1 CORRETTO
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

Leggi di più
Postato il da Paul M.
Francis J.
Francis J.
User
Autore

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

Leggi di più
Postato il da Francis J.