# PayPal PLUS howto

**URL:** https://forum.shopware.com/t/paypal-plus-howto/27405
**Category:** Administration
**Created:** [19. Mai 2015 um 16:59 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405 "2015-05-19T16:59:48Z")
**Posts on this page:** 20
**Page:** 5

<div class="post-metadata">

### Author: ![PPH](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@PPH](https://forum.shopware.com/u/PPH)
#### Post date: [29. Februar 2016 um 14:56 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/81 "2016-02-29T14:56:59Z")

</div>

Hallo Zusammen,

wir haben seit einiger Zeit ebenfalls das Problem, dass die Paypal Payments nicht immer funktionieren. Einige Kunden hatten uns zum Glück darauf aufmerksam gemacht. Bei einigen geht es, bei anderen wiederrum nicht. Dadurch gehen uns einige Bestellungen verloren, da die Kunden nicht bestellen können obwohl sie wollen.

Bei Paypa Developer unter „Live Transactions“ finde ich einige Transactions mit dem Fehler: PAYMENT\_NOT\_APPROVED\_FOR\_EXECUTION.

Einige unserer Kunden berichten ebenfalls von einer Endlosschleife beim Checkout über Paypal, ich weiß nicht ob es damit zusammen hängt.

Fakt ist: das Paypal Plugin funktioniert nicht einwandfrei und ich möchte die Shopware Entwickler bitten sich um das Problem zu kümmern

MfG

PPH

---

<div class="post-metadata">

### Author: ![Mario\_Bolt](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Mario\_Bolt](https://forum.shopware.com/u/Mario_Bolt)
#### Post date: [29. Februar 2016 um 16:14 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/82 "2016-02-29T16:14:26Z")

</div>

Bitte einmal folgendes ausprobieren:

**In der Datei engine/Shopware/Plugins/Default/Frontend/SwagPaypmentPaypal/Controllers/Backend/PaymentPaypal.php**

**In der z.Zt. aktuellen Version des PP-Plugins die Zeile 267 anpassen:**

**Alt:**

```
if (isset($details['CHECKOUTSTATUS']) && (!isset($details['PAYERID']) || !isset($details['ADDRESSSTATUS']))) {

```

**Neu;**

```
if (isset($details['CHECKOUTSTATUS']) && (!isset($details['PAYERID']) || !isset($details['PAYMENTREQUEST_0_ADDRESSSTATUS']))) {

```

Der Cache brauch nicht geleert werden.

---

<div class="post-metadata">

### Author: ![useg](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@useg](https://forum.shopware.com/u/useg)
#### Post date: [29. Februar 2016 um 16:38 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/83 "2016-02-29T16:38:31Z")

</div>

@Carp‍

Kannst du auch sagen was die Änderung bewirken soll, nur so zur Info.

---

<div class="post-metadata">

### Author: ![pasci2132](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@pasci2132](https://forum.shopware.com/u/pasci2132)
#### Post date: [29. Februar 2016 um 17:15 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/84 "2016-02-29T17:15:00Z")

</div>

> [@Carp schrieb:](https://forum.shopware.com/profile/3896/Carp "Carp")
> 
> Bitte einmal folgendes ausprobieren:
> 
> **In der Datei engine/Shopware/Plugins/Default/Frontend/SwagPaypmentPaypal/Controllers/Backend/PaymentPaypal.php**
> 
> **In der z.Zt. aktuellen Version des PP-Plugins die Zeile 267 anpassen:**
> 
> **Alt:**
> 
> if (isset($details[‚CHECKOUTSTATUS‘]) && (!isset($details[‚PAYERID‘]) || !isset($details[‚ADDRESSSTATUS‘]))) {
> 
> **Neu;**
> 
> if (isset($details[‚CHECKOUTSTATUS‘]) && (!isset($details[‚PAYERID‘]) || !isset($details[‚PAYMENTREQUEST\_0\_ADDRESSSTATUS‘]))) {
> 
> Der Cache brauch nicht geleert werden.

Danke erstmal,

allerdings steht bei mir in der Zeile 267 etwas komplett anderes. Daraufhin habe ich in der ganzen Datei mal danach gesucht. Auch nichts gefunden. Ich habe die aktuelle Version von PayPal installiert. Was mache ich falsch?

&nbsp;

Gruß

Pascal&nbsp;

---

<div class="post-metadata">

### Author: ![Tammo](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Tammo](https://forum.shopware.com/u/Tammo)
#### Post date: [29. Februar 2016 um 17:19 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/85 "2016-02-29T17:19:45Z")

</div>

Ich hänge mich mal ganz dreist mit meinem Problem an. Und zwar teste ich gerade die Paypalbezahlung im Sandboxmode.

-\>&nbsp;[http://test.test/payment\_paypal](http://test.test/payment_paypal) leitet wenn man auf zahlen klickt weiter zu&nbsp;[https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=\_express-checkout&useraction=commit&token=EC-4H408134AJ263884C](https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=EC-4H408134AJ263884C)

Dort logge ich mich mit einem Sandboxaccount ein und klicke auf jetzt zahlen

Dann werde ich zurückgeleitet auf:

[http://test.test/payment\_paypal/return?token=EC-4H408134AJ263884C&PayerID=CCDUHGTU65KLW](http://test.test/payment_paypal/return?token=EC-4H408134AJ263884C&PayerID=CCDUHGTU65KLW)

Diese Seite auf meinem Shop macht jedoch nichts anderes als mich wieder zur sandbox bei paypal zu schicken quasi in einer Dauerschleife. Auch wird die Bestellung nicht angelegt und die Zahlung taucht auch nicht auf.

Jemand vllt eine Idee?

---

<div class="post-metadata">

### Author: ![useg](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@useg](https://forum.shopware.com/u/useg)
#### Post date: [29. Februar 2016 um 17:30 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/86 "2016-02-29T17:30:52Z")

</div>

> [@pasci2132 schrieb:](https://forum.shopware.com/profile/15933/pasci2132 "pasci2132")
> 
> Danke erstmal,
> 
> allerdings steht bei mir in der Zeile 267 etwas komplett anderes. Daraufhin habe ich in der ganzen Datei mal danach gesucht. Auch nichts gefunden. Ich habe die aktuelle Version von PayPal installiert. Was mache ich falsch?
> 
> &nbsp;
> 
> Gruß
> 
> Pascal&nbsp;

Hallo Pascal,

es ist die &nbsp;/Frontend/SwagPaymentPaypal/Controllers/ **Frontend** /PaymentPaypal.php , da steht es in der Zeile 267

Gruß Uwe

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [29. Februar 2016 um 17:35 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/87 "2016-02-29T17:35:17Z")

</div>

Hallo,

die Dauerschleife bei Paypal ist uns auch schon aufgefallen und wir arbeiten auch schon an einer Lösung. Paypal hat hier etwas umgestellt, was die Änderung, die @Carp‍ hier beschreibt nötig macht:

[https://github.com/shopwareLabs/SwagPaymentPaypal/blob/master/Controllers/Frontend/PaymentPaypal.php#L266](https://github.com/shopwareLabs/SwagPaymentPaypal/blob/master/Controllers/Frontend/PaymentPaypal.php#L266)

‚ADDRESSSTATUS‘ durch ‚PAYMENTREQUEST\_0\_ADDRESSSTATUS​‘ ersetzen.

Ein Paypal-Update wird es hier in kürze geben. Es sollte hier in den aktuellen API-Versionen von Paypal zu diesem Problem kommen.

Moritz

---

<div class="post-metadata">

### Author: ![pasci2132](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@pasci2132](https://forum.shopware.com/u/pasci2132)
#### Post date: [29. Februar 2016 um 17:35 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/88 "2016-02-29T17:35:20Z")

</div>

> [@useg schrieb:](https://forum.shopware.com/profile/5578/useg "useg")
> 
> > [@pasci2132 schrieb:](https://forum.shopware.com/profile/15933/pasci2132 "pasci2132")
> > 
> > Danke erstmal,
> > 
> > allerdings steht bei mir in der Zeile 267 etwas komplett anderes. Daraufhin habe ich in der ganzen Datei mal danach gesucht. Auch nichts gefunden. Ich habe die aktuelle Version von PayPal installiert. Was mache ich falsch?
> > 
> > &nbsp;
> > 
> > Gruß
> > 
> > Pascal&nbsp;
> 
> Hallo Pascal,
> 
> es ist die &nbsp;/Frontend/SwagPaymentPaypal/Controllers/ **Frontend** /PaymentPaypal.php , da steht es in der Zeile 267
> 
> Gruß Uwe

Danke Uwe hab es gefunden.

Allerdings finde ich dieses Zeichen etwas komisch:&nbsp;[', ist das normal? Weil bei mir steht das so:

if (isset($details[‚CHECKOUTSTATUS‘]) && (!isset($details[‚PAYERID‘]) || !isset($details[‚ADDRESSSTATUS‘]))) {

&nbsp;

Grüße

Pascal

---

<div class="post-metadata">

### Author: ![useg](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@useg](https://forum.shopware.com/u/useg)
#### Post date: [29. Februar 2016 um 17:49 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/89 "2016-02-29T17:49:07Z")

</div>

> [@pasci2132 schrieb:](https://forum.shopware.com/profile/15933/pasci2132 "pasci2132")
> 
> Danke Uwe hab es gefunden.
> 
> Allerdings finde ich dieses Zeichen etwas komisch:&nbsp;[', ist das normal? Weil bei mir steht das so:
> 
> if (isset($details[‚CHECKOUTSTATUS‘]) && (!isset($details[‚PAYERID‘]) || !isset($details[‚ADDRESSSTATUS‘]))) {
> 
> &nbsp;
> 
> Grüße
> 
> Pascal

Nimm mal das von original Post von&nbsp;&nbsp;[Carp](http://forum.shopware.com/profile/3896/Carp), da ist das mit den Zeichen korrekt, das was du oben angibst ist noch ein Bug im Forum mit fatalen Folgen, wenn einer den Code so kopiert.

Gruß&nbsp;Uwe

---

<div class="post-metadata">

### Author: ![pasci2132](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@pasci2132](https://forum.shopware.com/u/pasci2132)
#### Post date: [29. Februar 2016 um 17:51 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/90 "2016-02-29T17:51:54Z")

</div>

Danke Uwe,

ja das dachte ich mir auch. Hab es jetzt eingepflegt, werde es jetzt mal beobachten. Danke und einen schönen Abend euch.

Gruß

Pascal

---

<div class="post-metadata">

### Author: ![vierpunkt](https://avatars.discourse-cdn.com/v4/letter/v/ec9cab/32.png) [@vierpunkt](https://forum.shopware.com/u/vierpunkt)
#### Post date: [29. Februar 2016 um 17:54 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/91 "2016-02-29T17:54:42Z")

</div>

Kann ich bestätigen, betrifft auch das normale Paypal Plugin nicht nur Paypal Plus!

Zeile 267:  
&nbsp;

```
if (isset($details['CHECKOUTSTATUS']) && (!isset($details['PAYERID']) || !isset($details['PAYMENTREQUEST_0_ADDRESSSTATUS']))) {

```

&nbsp;

---

<div class="post-metadata">

### Author: ![trixx](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@trixx](https://forum.shopware.com/u/trixx)
#### Post date: [29. Februar 2016 um 18:35 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/92 "2016-02-29T18:35:42Z")

</div>

Hier wohl das selbe. Gerade ne Rückmeldung vom Kunden erhalten, den ich angeschrieben hatte da er die Bestellung abgebrochen hatte. Die Antwort war jetzt aber nicht wirklich aussagekräftig. „es gab probleme wegen paypal“

Gehe mal davon aus dass es einen Zusammenhang mit dem aktuellen Problem gibt. Hab den Fix nun auch mal reingehauen. In meinem Test eben lief alles einwandfrei.

---

<div class="post-metadata">

### Author: ![Joscha\_Schultze](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Joscha\_Schultze](https://forum.shopware.com/u/Joscha_Schultze)
#### Post date: [1. März 2016 um 09:31 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/93 "2016-03-01T09:31:41Z")

</div>

Mal eine kleine Anregung: Wenn sowas elementares passiert, dann wäre eine Information dazu auf Facebook, Twitter und per Mail gut. Habe einige Kunden die dadurch seit gestern ziemlichen Umsatz verloren haben.

---

<div class="post-metadata">

### Author: ![thethe](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@thethe](https://forum.shopware.com/u/thethe)
#### Post date: [1. März 2016 um 10:38 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/94 "2016-03-01T10:38:50Z")

</div>

Also ich habe in meiner Shopware 5.0.3 Instalaltion alles wie beschrieben geändert…geht trotzdem nicht…

Das ist doch der Pfad?

/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypal/Controllers/Frontend/PaymentPaypal.php

&nbsp;

---

<div class="post-metadata">

### Author: ![sschreier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sschreier/32/23296_2.png) [@sschreier](https://forum.shopware.com/u/sschreier)
#### Post date: [1. März 2016 um 11:01 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/95 "2016-03-01T11:01:19Z")

</div>

> Ein Paypal-Update wird es hier in kürze geben. Es sollte hier in den aktuellen API-Versionen von Paypal zu diesem Problem kommen.
> 
> Moritz

Hallo Moritz,

was ist denn die aktuelle API-Version?

Beste Grüße

Sebastian

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [1. März 2016 um 11:01 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/96 "2016-03-01T11:01:24Z")

</div>

Weitere Informationen gibt es hier:&nbsp;[http://forum.shopware.com/discussion/35426/informationen-zur-problematik-paypal-weiterleitung#latest](http://forum.shopware.com/discussion/35426/informationen-zur-problematik-paypal-weiterleitung#latest)

---

<div class="post-metadata">

### Author: ![harleyteileeu](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@harleyteileeu](https://forum.shopware.com/u/harleyteileeu)
#### Post date: [1. März 2016 um 12:20 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/97 "2016-03-01T12:20:43Z")

</div>

ist das so richtig ?

&nbsp;

// Canceled payment  
&nbsp; &nbsp; &nbsp; &nbsp; if (isset($details[‘CHECKOUTSTATUS’]) && (!isset($details[‘PAYERID’]) || !isset($details[‘PAYMENTREQUEST\_0\_ADDRESSSTATUS’]))) {  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unset($this-\>session-\>PaypalResponse);  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return $this-\>forward(‘gateway’);

---

<div class="post-metadata">

### Author: ![E-Rauchershop](https://avatars.discourse-cdn.com/v4/letter/e/76d3ee/32.png) [@E-Rauchershop](https://forum.shopware.com/u/E-Rauchershop)
#### Post date: [1. März 2016 um 13:01 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/98 "2016-03-01T13:01:39Z")

</div>

Haben es geändert, aber Zahlung funktioniert nicht. Im Gegenteil man gelangt nicht mal mehr auf die Paypalseite sondern nur auf die Startseite.

---

<div class="post-metadata">

### Author: ![mwoelk](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mwoelk](https://forum.shopware.com/u/mwoelk)
#### Post date: [1. März 2016 um 13:18 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/99 "2016-03-01T13:18:17Z")

</div>

Wir haben es auch bei mehreren, von uns betreuten, Shops abgeändert. Bei denen auf Shopware 4 funktioniert es problemlos. Nur Shopware 5 schickt den Benutzer trotz Änderung immer noch hin und her…&nbsp;

---

<div class="post-metadata">

### Author: ![YesNow](https://avatars.discourse-cdn.com/v4/letter/y/cdc98d/32.png) [@YesNow](https://forum.shopware.com/u/YesNow)
#### Post date: [1. März 2016 um 13:39 UTC](https://forum.shopware.com/t/paypal-plus-howto/27405/100 "2016-03-01T13:39:03Z")

</div>

Vielen Dank für diese Lösung. Wir konnten das Problem so bei uns beheben!

[Vorherige Seite](https://forum.shopware.com/t/paypal-plus-howto/27405.md?page=4)

[Nächste Seite](https://forum.shopware.com/t/paypal-plus-howto/27405.md?page=6)
