Adaptation to zero-decimal currencies
-
Hi, It’s a great plug-in.
I’m in trouble with the following problem.
ex)
shortcode
[direct-stripe type=”donation” amount=”JPY”]Enter 100 in the text box to specify the amount,
In this case, I expect to settle 100 yen.
Actually however, 10,000 yen has been settled.Therefore, by solving the problem by modifying the code as shown below.
direct-stripe/process/ds_donation.php//$amount = $pre_amount * 100; $amount = $pre_amount * 1;
I expect automaricary fix by types of amount.
same type of amount
BIF: CLP: DJF: GNF: JPY: KMF: KRW: MGA: PYG: RWF: VND: VUV: XAF: XOF: XPF:Thank you,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adaptation to zero-decimal currencies’ is closed to new replies.