- Posts: 3
- Thank you received: 1
Questions about Payment Form extension
Transaction ID numbers only
- Adela Sasinkova
- Topic Author
- Offline
- New Member
-
Less
More
5 years 2 months ago #131876
by Adela Sasinkova
Transaction ID numbers only was created by Adela Sasinkova
Good day,
I need transaction_id to be generated only as a numeric and not an alphanumeric.
This is because the customer can use it as a variable symbol when making an offline payment. The bank only requires a number. It would also be better for exchanging information in the payment gateway plugin we are preparing.
I would like to put this as a requirement for choice in the next PMF issue. Now I would need to indicate in which file this is solved and what to change there.
Thank you very much for your help
Karel
I need transaction_id to be generated only as a numeric and not an alphanumeric.
This is because the customer can use it as a variable symbol when making an offline payment. The bank only requires a number. It would also be better for exchanging information in the payment gateway plugin we are preparing.
I would like to put this as a requirement for choice in the next PMF issue. Now I would need to indicate in which file this is solved and what to change there.
Thank you very much for your help
Karel
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
5 years 2 months ago #131880
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Transaction ID numbers only
Hi Karel
The file is components/com_pmform/Model/Payment.php
You need to find this line of code:
$data = strtoupper(JUserHelper::genRandomPassword());
And try to generate code to replace strtoupper(JUserHelper::genRandomPassword()) with something contains the value you want
Tuan
The file is components/com_pmform/Model/Payment.php
You need to find this line of code:
$data = strtoupper(JUserHelper::genRandomPassword());
And try to generate code to replace strtoupper(JUserHelper::genRandomPassword()) with something contains the value you want
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.