WebSite X5Help Center

 
Francis J.
Francis J.
User

Custom code for Flutterwave checkout  en

Auteur : Francis J.
Visité 1423, Followers 1, Partagé 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

Posté le
2 RéPONSES - 1 UTILES - 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

Lire plus
Posté le de Paul M.
Francis J.
Francis J.
User
Auteur

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

Lire plus
Posté le de Francis J.