Magento/PayPal: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
K (m)
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
bei der Integration von PayPal in Magento 1.7 kommt es zu Problemen:
bei der Integration von PayPal (Express Checkout) in Magento 1.7 kommt es zu Problemen:


== Gateway Error ==
== Gateway Error ==
Zeile 14: Zeile 14:
Hintergrund:
Hintergrund:
http://www.jg-dev.de/button-magento-checkout-paypal-express/#.VepDV3Xtmko
http://www.jg-dev.de/button-magento-checkout-paypal-express/#.VepDV3Xtmko
http://www.brainre.org/magento-paypal-express-review-javascript-bug/
http://www.brainre.org/magento-paypal-express-review-javascript-bug/


Lösung bei 2 Bedingungen (AGB und Wiederrufsrecht):
Lösung bei 2 Bedingungen (AGB und Wiederrufsrecht):
<syntaxhighlight line start="432" lang="javascript">
<syntaxhighlight line start="430" lang="javascript">
//skin/frontend/base/default/js/checkout/review.js
//skin/frontend/base/default/js/checkout/review.js


Zeile 29: Zeile 30:
die Reviewseite kann man auch noch ändern, dass z.B. keine doppelte Adressabfrage kommt:
die Reviewseite kann man auch noch ändern, dass z.B. keine doppelte Adressabfrage kommt:
/app/design/frontend/base/default/template/paypal/express/review.phtml
/app/design/frontend/base/default/template/paypal/express/review.phtml


== Review-Seite entfernen ==
== Review-Seite entfernen ==
Hintergrund:
Hintergrund:
http://stackoverflow.com/questions/31579845/magento-paypal-express-review-page-and-agreements
http://stackoverflow.com/questions/31579845/magento-paypal-express-review-page-and-agreements
http://stackoverflow.com/questions/7607180/magento-easy-way-to-remove-paypal-express-review-step
http://stackoverflow.com/questions/7607180/magento-easy-way-to-remove-paypal-express-review-step


Zeile 42: Zeile 43:
wobei Express-Checkout in Deutschland nicht wirklich brauchbar ist, da man '''NACH''' der Paypal-Bezahlung dann den AGBs und Wiederruf zustimmen muss.
wobei Express-Checkout in Deutschland nicht wirklich brauchbar ist, da man '''NACH''' der Paypal-Bezahlung dann den AGBs und Wiederruf zustimmen muss.


Deshalb besser "Paypal Website Payments Standard" verwenden
'''Deshalb besser "Paypal Website Payments Standard" verwenden'''
 
 
== Weitere Infos ==
* http://www.paypal-optimizer.com/Start/Shopsystem-Integration
* https://developer.paypal.com/docs/faq/#international-developer-questions


[[Kategorie:WWW]]
[[Kategorie:WWW]]
[[Kategorie:Magento]]
[[Kategorie:PHP]]
[[Kategorie:PHP]]

Aktuelle Version vom 24. September 2016, 13:38 Uhr

bei der Integration von PayPal (Express Checkout) in Magento 1.7 kommt es zu Problemen:

Gateway Error

The gateway of PayPal rejected the request. The totals of the cart item Amounts Amounts do not match order 
(# 10413: Transaction refused Because of an invalid argument See additional error messages for details.)

Hintergrund http://stackoverflow.com/questions/11868985/magento-paypal-tax-rounding-issue

Lösung http://www.magentocommerce.com/magento-connect/rounding-error-fix-for-magento-and-paypal.html

Checkout - Agreement - Fehler

Hintergrund: http://www.jg-dev.de/button-magento-checkout-paypal-express/#.VepDV3Xtmko

http://www.brainre.org/magento-paypal-express-review-javascript-bug/

Lösung bei 2 Bedingungen (AGB und Wiederrufsrecht):

430 //skin/frontend/base/default/js/checkout/review.js
431 
432         if (document.getElementById("agreement-1").checked && document.getElementById("agreement-2").checked) {
433                 isDisabled = false;
434         }else{
435                 isDisabled = true;
436         }


die Reviewseite kann man auch noch ändern, dass z.B. keine doppelte Adressabfrage kommt: /app/design/frontend/base/default/template/paypal/express/review.phtml

Review-Seite entfernen

Hintergrund: http://stackoverflow.com/questions/31579845/magento-paypal-express-review-page-and-agreements

http://stackoverflow.com/questions/7607180/magento-easy-way-to-remove-paypal-express-review-step

Lösung (beachte JS-Fehler von oben) https://github.com/magento-hackathon/Sandfox_RemovePaypalExpressReviewStep


wobei Express-Checkout in Deutschland nicht wirklich brauchbar ist, da man NACH der Paypal-Bezahlung dann den AGBs und Wiederruf zustimmen muss.

Deshalb besser "Paypal Website Payments Standard" verwenden


Weitere Infos