Return a form to browser that the user can submit to BofA (as mentioned in another reply). You can't use LWP - the browser will need to initiate the session so that the user can process through the checkout.
If you want to validate input before forwarding user to BofA:
Each button is a submit for a seperate form. The "proceed" button is for a form containing all data as hidden fields and method POST for BofA. The "Edit" button is basically a back button (or whatever you choose). That's the easiest way to process this without interupting the user's flow too much.
A final note on integrity - I have no idea how BofA talks back to you about the transaction's success etc but, however it's done, double check the data they processed against that which you sent - otherwise it's trivial for someone to amend the data in the hidden fields to change the nature of the transaction.
You're basically stuck with that unless they provide an API for you to talk to them direct to process the CC - but I'm assuming you can't based on the data you presented here.
.02
cLive ;-)
In reply to Re: How to send HTTP POST request?
by cLive ;-)
in thread How to send HTTP POST request?
by UncleRon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |