Paytrace Payment Link

  • Posts: 70
  • Thank you received: 3
1 year 1 month ago #356335

We are providing a PayTrace Payment Link for the buyer to supply online payment via the HikaShop bank transfer payment plugin.

The link leads to a Paytrace form that contains fields for Invoice # and Total Amount.

Here is the abbreviated link:
paylink.paytrace.com/?m=eyJhbGciOiJBMjU2...ount=VAR&invoice=VAR

I want to populate the amount and invoice variables in the URL so they are passed to the remote Paytrace form.

The link would be provided in the final page of checkout and the confirmation email.

Are there existing variables that could be used for this purpose?

Last edit: 1 year 1 month ago by virusys.

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
1 year 1 month ago #356342

Hi,

What do you mean by "via the HikaShop bank transfer payment plugin" ? Do you mean that you added your link in the "information" area of the bank transfer payment method ? There is no mechanism to have tags in there for order data.

For the final page of the checkout, you could do it instead by making a copy of the file plugins/hikashoppayment/banktransfer/banktransfer_end.php to templates/YOUR_TEMPLATE/hikashoppayment/banktransfer_end.php and then modifying that copy.
In it, you can directly include your HTML and use the PHP variables $this->amount and $this->order_number

For the emails you would have to modify the preload section of the emails via the menu System>Emails.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum