{docurl}
Collecting payment data on the POM page
It is possible but it requires a rather limited payment set up. The approach is basically to copy the payment data from from the payment information page in checkout and put into the POM form. However, keep in mind that the POM itself will not process or validate the data collected by the form. It simply "holds" it until you process the order and as such POM would have to be configured to take you to the OPAY page (where the data would be used to fill out the form) or to the INVC (Invoice) page.
When copying the form from the Payment Information (by doing a "view source" on the page during checkout) make sure you get the hidden PaymentMethod field.
For example, using the stock Check module, the source on the page which collects the check number is:
<input type="hidden" name="PaymentMethod" value="check:check">
<h5>Check</h5>
<h5 class="paymentdetail">Check #:</h5>
<input type="text" name="Check_Number" size=40 value="">
This can be pasted into the POM template to collect the check number. However, to have the number displayed when the page is refreshed you need to display the collected data. This can be done with the %var|expression|% token. Where "expression" is the name of the form field. So in the above example:
<input type="hidden" name="PaymentMethod" value="check:check">
<h5>Check</h5>
<h5 class="paymentdetail">Check #:</h5>
<input type="text" name="Check_Number" size=40 value=" %var|Check_Number|%">
Last update: 2009-04-01 13:54
Author: Michael Brock
Revision: 1.1
You cannot comment on this entry
Records in this category
- Making "Additional Charge" Display When Using COD Payment Module
- Unable to Sort by Product Code OR Name
- Eliminating Out of Stock Items From Displaying In the Product List
- Specifying a Quantity For Each Item In Product List
- Displaying Tax Module Fields on Phone Order Manager Interface
- In previous versions of the module I could enter addresses that were missing elements otherwise required during normal Merchant checkout (such as a shipping email address) but now I am returned to the OINF screen to provide missing information.
- I do not want all users of the module to be able to change the product price and/or quantity while taking orders. How do I do this?
- When I attempt to add a product with insufficient inventory or when I try to increase the quantity of a product in the basket past the available inventory the page simply refreshes. How can I display a message to the user about what happened?
- Is there a token similar to %basketprice_nochange% for the tax and shipping prices. Looking to have the boxes not be editable unless under a specific login.
- With the %recalculatetax% token, is there a way that after the page is updated, for that box to remain checked after update?
- I would like to configure Phone Order Manager so that I can copy entire orders into the basket to make "re-ordering" easier. Can I do this?
- The page loads sometimes take a little while. Is it possible to display a "loading" graphic to remind the user that the page is loading?
- What does the "Add all products in ctgy:" option do?
- Is it possible to enter items into the basket which are not in Merchant's databases, such as auction items?
- Is there any way to add a negative number to the basket total, for example, to give a discount to a customer?
- Is it possible to display a link in Phone Order Manager which will add a product to the basket or bring up the Product Search window with results for a particular search term? For example, I'd like to be able to see all results for "certs".
- I am looking for a module that will allow me to use my phone order manager and while in that process be able to hit a link or button that will put the exact last order back into the system from the customers last order.
- Is there any way to look up a customer's previous order information?
- How can I set a default price group to use for all customers?
- Collecting payment data on the POM page
- Adding a button to copy Shipping info to Billing info














