Magento/PayPal: Unterschied zwischen den Versionen
(paypal) |
K (→Gateway Error) |
||
Zeile 2: | Zeile 2: | ||
== Gateway Error == | == Gateway Error == | ||
<syntaxhighlight lang="php">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.)</syntaxhighlight> | <syntaxhighlight lang="php">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.)</syntaxhighlight> | |||
Hintergrund | Hintergrund |
Version vom 5. September 2015, 11:41 Uhr
bei der Integration von PayPal 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):
432 //skin/frontend/base/default/js/checkout/review.js
433
434 if (document.getElementById("agreement-1").checked && document.getElementById("agreement-2").checked) {
435 isDisabled = false;
436 }else{
437 isDisabled = true;
438 }
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