News:

Looking for documentation? Take a look on our wiki

Main Menu

Enter PO number when chosen as payment method

Started by Priyal, November 18, 2016, 15:29:16 PM

Previous topic - Next topic

Priyal

I need a payment plugin that will let me add a input box for the customers Purchase Order (when selected Purchase Order as payment plugin).

When PO is selected, a text box must appear for user to enter and saving it will save this in payment table and display at order history as well. Is this possible with VM via any plugin or some back end changes or do I need to hack the core?

Kindly guide me over same as I need to implement it for one of my client.

GJC Web Design

look at e.g. the Authorize payment plugin .. it has text fields
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Priyal

I'm following this link for Authorize.net plugin e.g
http://www.inmotionhosting.com/support/website/joomla-25/virtuemart-authorize
but it doesn't describe anything about displaying text box.

Basically what I want is, when Purchase order is selected, text box appears, user enters and proceeds to next step, payment is processed and we get this details in order history as well. How this can be achieved in VM

GJC Web Design

why are u looking there?

Look at the code.. it has text boxes.. how else would u fill in your credit card number etc??

You are not going to find a "step by step how to build a VM payment plugin" guide.. either u know from looking at existing plugin code or u don't

it is all standard php, ajax, etc techniques .. you need to copy/add what is done with e.g. that plugin to collect the text field
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Priyal

I need 2 payment methods. 1) Purchase Order and 2) Credit Card.
For 2) I'm using Authorize.net as payment and for 1) Standard VM Payment . Do I need to again use Authorize here?So what's use of 2 same payment gateways!!

Note: Client now wants to make user to enter a text box field when 1) is selected. How can this be achieved?