Skip to content

Commit

Permalink
Refs #37654, Modify newebpay amount format in description.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Shu-Huai committed Aug 11, 2023
1 parent 7028089 commit d8b4771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion civicrm_spgateway/civicrm_spgateway.checkout.inc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function _civicrm_spgateway_order(&$vars, $component, &$payment_processor, $inst

$itemDescription = $vars['description'];
$itemDescription .= ($vars['description'] == $vars['item_name'])?'':':'.$vars['item_name'];
$itemDescription .= ':'.$vars['amount'];
$itemDescription .= ':'.floatval($vars['amount']);
$itemDescription = preg_replace('/[^[:alnum:][:space:]]/u', ' ', $itemDescription);

if(!$vars['is_recur']){
Expand Down

0 comments on commit d8b4771

Please sign in to comment.