News:

Looking for documentation? Take a look on our wiki

Main Menu

Variables in custom creditcard payment method

Started by some0ne, April 04, 2016, 09:52:25 AM

Previous topic - Next topic

some0ne

Hi, our bankaccount has a 3rd party payment system what we have to integrate in VM.

In Virtuemart > Payment Methods I added a new payment option: Creditcard payment
In the configuration tab I added the code I got from my bank:
###WHATTODO###

<form method="post" name="aform" accept-charset="UTF-8"
action="bank url">
<input type="image" src="image.gif" name="submit" alt="Pay with CreditCard" />
  <input type="hidden" name="ordernumber" value="###ORDERID###" />
  <input type="hidden" name="amount" value="###ORDERTOTAL###" />
  <input type="hidden" name="lang" value="###LANGUAGE###" />
  <input type="hidden" name="merchantid" value="customer" />
  <input type="hidden" name="name" value="###USERNAME###" />
  <input type="hidden" name="currency" value="EUR" />
  <input type="hidden" name="clientemail" value="###USEREMAIL###" />
</form>

Now the problem I have is that there is no data in this placeholders > ###ORDERID###, ###ORDERTOTAL### etc. how can i get this values?
I use Joomla! 3.5.0.

Best,

sOmeone



GJC Web Design

you need a proper integrated payment plugin for this to take the values form the system as per all payment plugins
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

some0ne

Ok thank you GJC Web Design, if someone has the same problem:
> I modified the standard payment options where I used the payment_name field and replaced the string variables i added with the shop variables.
>> works like a charm  :)

So there is no extra plugin needed!