Reply To: Select menu condition and restriction + payment gateway

Home Forums Quform WordPress Select menu condition and restriction + payment gateway Reply To: Select menu condition and restriction + payment gateway

#28878
Goran
Participant

QUESTION 2

Thanx for explanation!

Sorry, You got 404 because Merchant and Terminal ID are placeholders. Today the owner will send me those details

I’ve added the code
$('.quform-field-3_24').val(totaltic);
the value is sent to bank as calculated on page is in HRK but it needs to be sent multiplied by 100 (if price is 290 sent value should be 29000)
I assume it would be enough to change the code to $('.quform-field-3_24').val(totaltic * 100);

ORDERID
'OrderID', value: 'AAAAA002' it is order ID.
In documentation I’ve red that Giving each submission a unique reference number is way to go.
Is there a way to create unique ID trough mentioned ref number and send it to gateway as order ID?

PURCHASETIME
{ name: 'PurchaseTime', value: '080826093914' },
PurchaseTime = yyMMddHHmmssZ

  • yy – year
  • MM – month
  • dd – day
  • HH – hour (0-23)
  • mm – minute
  • ss- seconds
  • Z – time zone (RFC)

in example that I’ve sent you time is
<p><input name="PurchaseTime" value="080826093914"> meaning it is yyMMddHHmmss and there is no Z since it is optional.
Is it possible to fill value with “real time” on submit?

Mandatory filed to send to gateway are
MerchantId;
TerminalId;
PurchaseTime;
OrderId;
Amount;

but my pathetic coding “skills” are enough to alter/remove fields as needed.

  • This reply was modified 5 years ago by Goran.
  • This reply was modified 5 years ago by Goran.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy