- Posts: 11
- Thank you received: 0
Questions about Payment Form extension
Problem with comma
- ketevan
- Topic Author
- Offline
- New Member
Less
More
6 years 9 months ago #110675
by ketevan
Problem with comma was created by ketevan
Hello, I found one issue. An amount is generating in this format - 2,590.00 . My payment gateway doesn't perceives commas. How it is possible for amount to be generated without comma?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
6 years 9 months ago #110765
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Problem with comma
Hi
For this case, you will need to write code in the payment plugin to covert the amount to the format required by your gateway, I guess a simple str_replace command
Regards,
Tuan
For this case, you will need to write code in the payment plugin to covert the amount to the format required by your gateway, I guess a simple str_replace command
Regards,
Tuan
The following user(s) said Thank You: ketevan
Please Log in or Create an account to join the conversation.
- ketevan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
6 years 9 months ago #110775
by ketevan
Replied by ketevan on topic Problem with comma
Thank you, but it's not possible for me, i have to send payments with email , after payment approval, and sou could i remove commas from [amount] in email template?
Regards
Regards
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 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.