Demo Payment challenge

I get 403 (forbidden) when I run the payment page

<form method="POST" action="https://checkout.flutterwave.com/v3/hosted/pay">
  <div>
    Your order is ₦3,400
  </div>
  <input type="hidden" name="public_key" value="FLWPUBK_TEST-SANDBOXDEMOKEY-X" />
  <input type="hidden" name="customer[email]" value="jessepinkman@walterwhite.org" />
  <input type="hidden" name="customer[name]" value="Jesse Pinkman" />
  <input type="hidden" name="tx_ref" value="bitethtx-019203" />
  <input type="hidden" name="amount" value="3400" />
  <input type="hidden" name="currency" value="NGN" />
  <input type="hidden" name="meta[token]" value="54" />
  <input type="hidden" name="redirect_url" value="https://demoredirect.localhost.me/" />
  <button type="submit" id="start-payment-button">Pay Now</button>
</form>

Hi @Muhammed_Omenesa

Thank you for sharing this experience with us,

Kindly replace the “public_key” value above with your test “public key” from your dashboard, and retry the Transaction.

PS: Be sure to hide any sensitive information when sharing your payload on the forum.

Adekunle

Have done same but still receing the same error

I have been on it but no success

Hi @Muhammed_Omenesa

Kindly replace the “redirect_url” value from the payload above with “https://flutterwave.com”, and retry the Transaction.

I will remain on standby for your response

Adekunle

Hi,

Thank you.

That worked. Then to verify payment, it keeps saying “No transaction was found for this id” when verify with transaction id

and same when verify with tx_ref

Hi @Adekunle, I can’t verify payment. Please how may I go about it. What am I doing wrong please

@Adekunle Please I need this. I cant verify transaction