Hallo liebes Joomshopping Team,
bei Payone (Frontend & API) ist uns aufgefallen, dass die Übergabe des Kaufpreises nicht funktioniert. Hier wird nicht kaufmännisch gerundet. Das führt zu einem Fehler und der Kauf kann nicht abgeschlossen werden. Wir haben das Problem bei uns nun manuell gelöst. Es wäre super, wenn ihr das ebenfalls ändern würdet. Wir selbst nutzen den Payone Frontend Channel.
Das Problem kann man wie folgt beim Fronend Channel Plugin beheben:
pm_payone.php
alle $order->order_total ersetzen durch round($order->order_total,2), weil im $order->order_total vom Shop je nachdem eine Zahl mit 4 Stellen hinter dem Komma geliefert wird
Außerdem haben wir das Addon "Individual text for update order status (in email)" Version 1.0.2 installiert. Bei der Rückgabe von Payone Zahlungen, wird allerdings nicht der individuelle Text verwendet. Scheinbar schickt das Addon etwas eigenes. Wie kann man dies ändern? Der Hinterlegte Text aus dem Add-on "Individual text for update order status (in email)" müsste hier gesetzt werden.
Vielen Dank und liebe Grüße
Andrea
---
Dear JoomShopping team,
we noticed that the transfer of the purchase price is not working in the payone payment (Channel Fronted & API). Here the system does not round. The result is an error, and the purchase can not be completed. We have solved the problem now manually. It would be great if you would also change the code. We even use the Payone frontend Channel.
You can fix the problem in the Fronted Channel Plugin as follows:
pm_payone.php
Replace all $order->order_total to round($order->order_total,2), because the shop delivers a number with 4 digits after the decimal point gives in $order->order_total.
We have also installed the addon "Individual text for update order status (in email)". When redeeming Payone payments, however, the individual text is not used. It seems that the payone plugin sends its own text. How can we change this? The stored text from the add-on "Individual text for update order status (in email)" should be set here.
Thank you and best regards
Andrea
Joomla: Joomla! 3.4.4
JoomShopping: Version 4.10.5
JoomShopping: Version 4.10.5