Osclass Support Forums
Osclass plugin support => Osclass Pay Plugin => Topic started by: HappyTiger on December 18, 2019, 05:02:35 AM
-
I'm Japanese.
There are tow points that I don't understand about payment.
This item(http://afururu.s1009.xrea.com/afururu.shop/index.php?page=item&id=3 (http://afururu.s1009.xrea.com/afururu.shop/index.php?page=item&id=3)) is ¥10,000.
However, payment amount of stripe screen is ¥1,000,000.
Also, Is 901×1×3 a test name?
-
All currencies are delivered as times 100 (so cents are whole numbers). JPY not
In file:
oc-content/plugins/osclass_pay/payments/stripe/StripePayment.php
Find:
'amount' => round($amount*100),
replace it with:
'amount' => round(osp_currency() == 'JPY' ? $amount : $amount*100),
-
Thank you.
Correct payment sent to Stripe, but nothing is showing on "Item Orders".
"Payment Logs" and "Payments" is in a similar situation as "Item Orders".
-
Not quite getting you
-
Please look at images or Attached image files.
ITEM ORDERS
(http://netakiri.net//uploader/src/up0633.png)
Payment Logs
(http://netakiri.net//uploader/src/up0632.png)
Payments
(http://netakiri.net//uploader/src/up0631.png)
-
How is admin payment related to stripe?
-
I'm sorry.
Something was wrong when I copy-pasted.
I appreciate your support.
-
Welcome