Problem with payment Sofortüberweisung

29.12.2014 21:00
#1
zoomart
Joomshopping forum user no avatar
Name: Carsten
27.11.2013
Сообщения: 17
Quote
Problem with payment Sofortüberweisung

I have a problem with payment "Sofortüberweisung". The transaction is carried out withe notice from sofort.com, but the ordering process is not stored in the shop.

Ich habe ein Problem mit der Bezahlart "Sofortüberweisung". Die Transaktion wird über sofort.com durchgeführt, aber der Bestellvorgang wird nicht gespeichert. Es ist keine Bestellung im Shop festgehalten ud es wird auch keine Bestätigungsmail versendet.
Problem with payment Sofortüberweisung


Joomla: 2.5.22
JoomShopping: 3.16.0
 
30.12.2014 07:48
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25907
Quote
Aw: Problem with payment Sofortüberweisung

http://www.webdesigner-profi.de/joomla-webdesign/shop/support/paypal-configuration.html

 
30.12.2014 13:51
#3
zoomart
Joomshopping forum user no avatar
Name: Carsten
27.11.2013
Сообщения: 17
Quote
Aw: Problem with payment Sofortüberweisung

Ein Kontakt zu sofort.com ergab folgende brauchbare Hilfestellung:

-----------------------
Bitte überprüfen Sie die HTTP Benachrichtigung bei Ihnen im Joomla in der Bezahlart "Sofortüberweisung" ist es die Notify URL.

Sie müssen diese URL im Adminbereich von SOFORT in Ihrem Projekt in den erweiterten Einstellungen unter Benachrichtigungen in einer neuen Benachrichtigung eintragen:

Erweiterte Einstellungen -> Neue Benachrichtigung anlegen -> HTTP "ohne" alt wählen -> Aktiviert (Hacken einsetzen), Benachrichtigungs-URL (Notify-URL aus Joomla) und Methode POST wählen.

Sobald Sie das gemacht haben, bitte testen Sie mit eine Testbestellung, nicht vergessen!! Testmodus einzuschalten und bei BLZ 8 x 8 in Deutschland oder 5x0 wenn Sie im Ausland sind einzugeben.
-----------------------

Funktioniert einwandfrei.

 
30.12.2014 15:12
#4
FrankG.
User FrankG.
Name: Frank
30.11.2011
Сообщения: 1600
Quote
Aw: Problem with payment Sofortüberweisung

das hätte man aber auch gefunden wenn man die Suchfunktion genutzt hätte.

Gruß Frank

 
30.12.2014 20:49
#5
zoomart
Joomshopping forum user no avatar
Name: Carsten
27.11.2013
Сообщения: 17
Quote
Aw: Problem with payment Sofortüberweisung

Ich habe es aber nicht gefunden. Aber danke für den schlauen Hinweis

 
13.04.2015 14:02
#6
jschuppe
Joomshopping forum user no avatar
Name: Jirka
12.12.2014
Сообщения: 7
Quote
Aw: Problem with payment Sofortüberweisung

Ich habe alles so eingetragen wie oben beschrieben. Leider funktioniert es immer noch nicht. Ich habe ein paar zusätzliche Log-Ausgaben eingebaut und etwas verwunderliches gefunden.

Hier ein (erweitertes) Log aus der Datei "jshopping.php", welches ausgibt, was genau gerade aufgerufen wird:

2015-04-13 13:52:20 #JAS - Controller: checkout
2015-04-13 13:52:20 #JAS - Task: step4
2015-04-13 13:52:20 #JAS - Act:
2015-04-13 13:52:20 #JAS - Self: /index.php/shop/checkout/step4
2015-04-13 13:52:20 #JAS - Method: GET
2015-04-13 13:52:21 #JAS - ------------------------
2015-04-13 13:52:21 #JAS - Controller: checkout
2015-04-13 13:52:21 #JAS - Task: step4save
2015-04-13 13:52:21 #JAS - Act:
2015-04-13 13:52:21 #JAS - Self: /index.php/shop/checkout/step4save
2015-04-13 13:52:21 #JAS - Method: POST
2015-04-13 13:52:21 #JAS - ------------------------
2015-04-13 13:52:21 #JAS - Controller: checkout
2015-04-13 13:52:21 #JAS - Task: step3
2015-04-13 13:52:21 #JAS - Act:
2015-04-13 13:52:21 #JAS - Self: /index.php/shop/checkout/step3
2015-04-13 13:52:21 #JAS - Method: GET
2015-04-13 13:52:23 #JAS - ------------------------
2015-04-13 13:52:23 #JAS - Controller: checkout
2015-04-13 13:52:23 #JAS - Task: step3save
2015-04-13 13:52:23 #JAS - Act:
2015-04-13 13:52:23 #JAS - Self: /index.php/shop/checkout/step3save
2015-04-13 13:52:23 #JAS - Method: POST
2015-04-13 13:52:23 #JAS - ------------------------
2015-04-13 13:52:23 #JAS - Controller: checkout
2015-04-13 13:52:23 #JAS - Task: step5
2015-04-13 13:52:23 #JAS - Act:
2015-04-13 13:52:23 #JAS - Self: /index.php/shop/checkout/step5
2015-04-13 13:52:23 #JAS - Method: GET
2015-04-13 13:52:26 #JAS - ------------------------
2015-04-13 13:52:26 #JAS - Controller: checkout
2015-04-13 13:52:26 #JAS - Task: step5save
2015-04-13 13:52:26 #JAS - Act:
2015-04-13 13:52:26 #JAS - Self: /index.php/shop/checkout/step5save
2015-04-13 13:52:26 #JAS - Method: POST
2015-04-13 13:52:26 #JAS - ------------------------
2015-04-13 13:52:26 #JAS - Controller: checkout
2015-04-13 13:52:26 #JAS - Task: step6
2015-04-13 13:52:26 #JAS - Act:
2015-04-13 13:52:26 #JAS - Self: /index.php/shop/checkout/step6
2015-04-13 13:52:26 #JAS - Method: GET
2015-04-13 13:52:42 #JAS - ------------------------
2015-04-13 13:52:42 #JAS - Controller: category
2015-04-13 13:52:42 #JAS - Task:
2015-04-13 13:52:42 #JAS - Act:
2015-04-13 13:52:42 #JAS - Self: /index.php
2015-04-13 13:52:42 #JAS - Method: GET

2015-04-13 13:52:43 #JAS - ------------------------
2015-04-13 13:52:43 #JAS - Controller: checkout
2015-04-13 13:52:43 #JAS - Task: step7
2015-04-13 13:52:43 #JAS - Act: return
2015-04-13 13:52:43 #JAS - Self: /index.php
2015-04-13 13:52:43 #JAS - Method: GET
2015-04-13 13:52:43 #JAS - step7
2015-04-13 13:52:43 #JAS - step7 - 2
2015-04-13 13:52:43 #JAS - step7 - act: return
2015-04-13 13:52:43 #JAS - ------------------------
2015-04-13 13:52:43 #JAS - Controller: checkout
2015-04-13 13:52:43 #JAS - Task: finish
2015-04-13 13:52:43 #JAS - Act:
2015-04-13 13:52:43 #JAS - Self: /index.php/shop/checkout/finish
2015-04-13 13:52:43 #JAS - Method: GET


Pasend dazu das Log vom Apache:

[13/Apr/2015:13:52:20 +0200] "GET /index.php/shop/checkout/step4 HTTP/1.1" 200 46122 "https://www.meine-url.de/index.php/shop/checkout/step2?check_login=1" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:20 +0200] "GET /plugins/content/jooag_shariff/backend/?url=https%3A%2F%2Fwww.meine-url.de%2Findex.php%2Fshop%2Fcheckout%2Fstep4 HTTP/1.1" 200 41 "https://www.meine-url.de/index.php/shop/checkout/step4" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:21 +0200] "POST /index.php/shop/checkout/step4save HTTP/1.1" 303 - "https://www.meine-url.de/index.php/shop/checkout/step4" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:21 +0200] "GET /index.php/shop/checkout/step3 HTTP/1.1" 200 48769 "https://www.meine-url.de/index.php/shop/checkout/step4" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:22 +0200] "GET /plugins/content/jooag_shariff/backend/?url=https%3A%2F%2Fwww.meine-url.de%2Findex.php%2Fshop%2Fcheckout%2Fstep3 HTTP/1.1" 200 41 "https://www.meine-url.de/index.php/shop/checkout/step3" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:23 +0200] "POST /index.php/shop/checkout/step3save HTTP/1.1" 303 - "https://www.meine-url.de/index.php/shop/checkout/step3" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:23 +0200] "GET /index.php/shop/checkout/step5 HTTP/1.1" 200 50929 "https://www.meine-url.de/index.php/shop/checkout/step3" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:23 +0200] "GET /plugins/content/jooag_shariff/backend/?url=https%3A%2F%2Fwww.meine-url.de%2Findex.php%2Fshop%2Fcheckout%2Fstep5 HTTP/1.1" 200 41 "https://www.meine-url.de/index.php/shop/checkout/step5" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:26 +0200] "POST /index.php/shop/checkout/step5save HTTP/1.1" 303 - "https://www.meine-url.de/index.php/shop/checkout/step5" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:26 +0200] "GET /index.php/shop/checkout/step6 HTTP/1.1" 200 874 "https://www.meine-url.de/index.php/shop/checkout/step5" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:41 +0200] "POST /index.php?option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_sofortueberweisung&no_lang=1 HTTP/1.1" 303 - "-" "Payment Network AG notification-request"
[13/Apr/2015:13:52:43 +0200] "GET /index.php?option=com_jshopping&controller=checkout&task=step7&act=return&js_paymentclass=pm_sofortueberweisung HTTP/1.1" 303 - "https://www.sofort.com/payment/payment/go/provide_tan" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:43 +0200] "GET /index.php/shop/checkout/finish HTTP/1.1" 200 44210 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"
[13/Apr/2015:13:52:43 +0200] "GET /plugins/content/jooag_shariff/backend/?url=https%3A%2F%2Fwww.meine-url.de%2Findex.php%2Fshop%2Fcheckout%2Ffinish HTTP/1.1" 200 41 "https://www.meine-url.de/index.php/shop/checkout/finish" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0"




Interessant ist jeweils der Zeitpunkt "13/Apr/2015:13:52:41". Hier wird von der Sofort AG der POST Request zum step7 act=notify gesendet. Im selbst erstellten payment.log steht aber an der Stelle ganz was anderes (controller=category, ...)?!

Das Problem ist bei mir eben auch, dass die Notify Nachricht nicht verarbeitet wird.

Hier die Ausgabe der HTTP Benachrichtigung der Sofort AG (sieht alles OK aus):

13.04.2015 13:52:42: Response body will be truncated if it is longer than 51200 bytes.
13.04.2015 13:52:42: URL parsed: protocol:https user: pass: host:www.meine-url.de port: path:/index.php query:option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_sofortueberweisung&no_lang=1 anchor:
13.04.2015 13:52:42: HashCheck information - .............
13.04.2015 13:52:42: Starting request to https://www.meine-url.de/index.php with method POST
13.04.2015 13:52:42: Valid server remote IP: 195.30.107.89
13.04.2015 13:52:43: Response code of this request: 303
13.04.2015 13:52:43: Redirecting to new location...
13.04.2015 13:52:43: HashCheck information - .............
13.04.2015 13:52:43: Starting request to http://www.meine-url.de/index.php with method GET
13.04.2015 13:52:43: Valid server remote IP: 195.30.107.89
13.04.2015 13:52:43: Response code of this request: 200
13.04.2015 13:52:43: Notification 160679456 successful


Danke für die Mithilfe.

Viele Grüße
Jirka


Joomla: 3.4.1
JoomShopping: 4.9.2

Последнее изменение: 13.04.2015 14:13
 
14.04.2015 18:38
#7
jschuppe
Joomshopping forum user no avatar
Name: Jirka
12.12.2014
Сообщения: 7
Quote
Aw: Problem with payment Sofortüberweisung

Hallo allerseits,

leider wollte maxx-marketing nur für 200 Euro eine Fehlersuche starten. Aus diesem Grund habe ich selbst gesucht und entdeckt, dass der Shop an der Stelle nicht mit dem POST Request klar kommt (Parameter werden nicht korrekt ausgewertet), der bei der Sofort AG als HTTP Benachrichtigung eingetragen werden muss. Eine GET Nachricht geht bei mir nicht, da die URL zu lang wird.

Lösung:
Laut Konfigurationsseite für die Zahlungsart Sofortüberweisung soll die URL
https://www.meine-url.de/index.php?option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_sofortueberweisung&no_lang=1
als HTTP Benachrichtigung bei der Sofort AG eingetragen werden. Ich habe diese geändert in
https://www.meine-url.de/index.php/shop/checkout/step7?act=notify&js_paymentclass=pm_sofortueberweisung&no_lang=1
und schon funktioniert alles wie gewollt. Der Kunde bekommt seine Benachrichtigung vom Shop, der Artikel wird ausgebucht/reduziert, die Benachrichtigung an den Shopbetreiber geht raus und alles ist ok.

Zu beachten ist, dass in der URL der Pfad "/shop/" auftaucht, der bei mir durch ein Menüpunkt "Shop" zu stande kommt. Wer das anders administriert hat muss die URL entsprechend anpassen.

In mienen Log kommt jetzt beim notify folgendes:
...
2015-04-14 18:28:23 #JAS - ------------------------
2015-04-14 18:28:23 #JAS - Controller: checkout
2015-04-14 18:28:23 #JAS - Task: step7
2015-04-14 18:28:23 #JAS - Act: notify
2015-04-14 18:28:23 #JAS - Self: /index.php/shop/checkout/step7
2015-04-14 18:28:23 #JAS - Method: POST
2015-04-14 18:28:23 #JAS - step7
2015-04-14 18:28:23 #JAS - step7 - 2
2015-04-14 18:28:23 #JAS - step7 - act: notify
2015-04-14 18:28:23 #JAS - Order id xxx
...

voilà


Viele Grüße
Jirka


Последнее изменение: 14.04.2015 18:51
 
16.04.2015 11:25
#8
jschuppe
Joomshopping forum user no avatar
Name: Jirka
12.12.2014
Сообщения: 7
Quote
Aw: Problem with payment Sofortüberweisung

Da mir heute aufgefallen ist, dass auch die Zahlung per PayPal nicht mehr korrekt arbeitet (Bestellungen bleiben offen) habe ich ein wenig gesucht und auch etwas gefunden, was wohl die gleiche Ursache hat. In den Einstellungen zur Zahlungsmethode PayPal gibt es einen Schalter "Notify url SEF". Da dies sehr nichtssagend für mich war habe ich gesucht, was es damit aufsich hat. Und siehe da, es stellt die notify URL genau so um, wie ich es manuell für die Sofortüberweisung gemacht habe (nachzulesen hier: https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/1/6539.html?lang=de).

Weiß jemand, warum das so ist? Wo liegt das Problem mit den POST Requests. Hat das eventuell was mit einem Joomla Update zu tun? Bis zum 06.04.15 funktionierte es noch problemlos?!
Problem scheint die URL in POST Requestst zu sein, die Componente/Controller/Task als Parameter mitgibt (?option=com_jshopping&controller=checkout&task=step7&...). Die umgebaute Form (/shop/checkout/step7?...) funktioniert hingegen.


Последнее изменение: 16.04.2015 11:28
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.