@@ -28,7 +28,7 @@ public function checkoutWithPaypalFromBasketStepAutomaticLogin(AcceptanceTester
28
28
{
29
29
$ I ->wantToTest ('automatic login as existing but not logged in shop user. Shop login and PayPal login mail are the same. ' );
30
30
31
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , true );
31
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , true );
32
32
33
33
$ this ->setUserDataSameAsPayPal ($ I );
34
34
$ this ->proceedToBasketStep ($ I , $ _ENV ['sBuyerLogin ' ], false );
@@ -66,7 +66,7 @@ public function checkoutWithPaypalFromBasketStepNoAutomaticLoginFinalizeAsSameUs
66
66
{
67
67
$ I ->wantToTest ('no automatic login as existing but not logged in shop user. Shop login and PayPal login mail are the same. ' );
68
68
69
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , false );
69
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , false );
70
70
71
71
$ token = $ this ->startExpressCheckoutAsNotLoggedInExistingUser ($ I );
72
72
@@ -102,7 +102,7 @@ public function checkoutWithPaypalFromBasketStepNoAutomaticLoginFinalizeAsDiffer
102
102
{
103
103
$ I ->wantToTest ('no automatic login as existing but not logged in shop user. Log into shop with different account. ' );
104
104
105
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , false );
105
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , false );
106
106
107
107
$ token = $ this ->startExpressCheckoutAsNotLoggedInExistingUser ($ I );
108
108
@@ -139,10 +139,10 @@ public function checkoutWithPaypalFromBasketStepNoAutomaticLoginFinalizeAsDiffer
139
139
*/
140
140
public function checkoutWithPaypalExpressNewCustomer (AcceptanceTester $ I , Example $ example ): void
141
141
{
142
- $ I ->wantToTest ('checking out with PayPal payment as not existing shop user will end me up with passwordless shop login, PPlogin is ' . (int ) $ example ['blPayPalLoginWithPayPalEMail ' ]);
142
+ $ I ->wantToTest ('checking out with PayPal payment as not existing shop user will end me up with passwordless shop login, PPlogin is ' . (int ) $ example ['oscPayPalLoginWithPayPalEMail ' ]);
143
143
144
144
//login flag does not make a difference in this case
145
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , $ example ['blPayPalLoginWithPayPalEMail ' ]);
145
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , $ example ['oscPayPalLoginWithPayPalEMail ' ]);
146
146
147
147
//user does not exist in database
148
148
$ I ->seeInDatabase ('oxuser ' , ['oxusername ' => Fixtures::get ('userName ' )]);
@@ -191,10 +191,10 @@ public function checkoutWithPaypalExpressNewCustomer(AcceptanceTester $I, Exampl
191
191
*/
192
192
public function checkoutWithPaypalExpressRepeatGuestBuySameAddress (AcceptanceTester $ I , Example $ example ): void
193
193
{
194
- $ I ->wantToTest ('returning passwordless shop login customer, PPlogin is ' . (int ) $ example ['blPayPalLoginWithPayPalEMail ' ]);
194
+ $ I ->wantToTest ('returning passwordless shop login customer, PPlogin is ' . (int ) $ example ['oscPayPalLoginWithPayPalEMail ' ]);
195
195
196
196
//login flag should not make a difference in this case as we only have a guest account anyway
197
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , $ example ['blPayPalLoginWithPayPalEMail ' ]);
197
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , $ example ['oscPayPalLoginWithPayPalEMail ' ]);
198
198
199
199
//paypal user does with same name and invoice exist in database but has no password
200
200
$ this ->setUserDataSameAsPayPal ($ I , true );
@@ -239,10 +239,10 @@ public function checkoutWithPaypalExpressRepeatGuestBuySameAddress(AcceptanceTes
239
239
*/
240
240
public function checkoutWithPaypalExpressRepeatGuestBuyDifferentAddress (AcceptanceTester $ I , Example $ example ): void
241
241
{
242
- $ I ->wantToTest ('passwordless guest user, shop and PayPal email are same, invoice and names different, PPlogin is ' . (int ) $ example ['blPayPalLoginWithPayPalEMail ' ]);
242
+ $ I ->wantToTest ('passwordless guest user, shop and PayPal email are same, invoice and names different, PPlogin is ' . (int ) $ example ['oscPayPalLoginWithPayPalEMail ' ]);
243
243
244
244
//login flag should not make a difference in this case as we only have a guest account anyway
245
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , $ example ['blPayPalLoginWithPayPalEMail ' ]);
245
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , $ example ['oscPayPalLoginWithPayPalEMail ' ]);
246
246
247
247
//paypal user does exist in database but has no password.
248
248
//Shop name and invoice address is different from paypal, only email is the same
@@ -291,10 +291,10 @@ public function checkoutWithPaypalExpressRepeatGuestBuyDifferentAddress(Acceptan
291
291
*/
292
292
public function checkoutWithPaypalFromBasketAlreadyLoggedIn (AcceptanceTester $ I , Example $ example ): void
293
293
{
294
- $ I ->wantToTest ('Logged in shop user, shop and PayPal email and address are different, PPlogin is ' . (int ) $ example ['blPayPalLoginWithPayPalEMail ' ]);
294
+ $ I ->wantToTest ('Logged in shop user, shop and PayPal email and address are different, PPlogin is ' . (int ) $ example ['oscPayPalLoginWithPayPalEMail ' ]);
295
295
296
296
//setting should not make a difference, user is already logged in
297
- $ I ->updateModuleConfiguration ('blPayPalLoginWithPayPalEMail ' , $ example ['blPayPalLoginWithPayPalEMail ' ]);
297
+ $ I ->updateModuleConfiguration ('oscPayPalLoginWithPayPalEMail ' , $ example ['oscPayPalLoginWithPayPalEMail ' ]);
298
298
299
299
$ this ->proceedToBasketStep ($ I );
300
300
@@ -343,8 +343,8 @@ public function checkoutWithPaypalFromBasketAlreadyLoggedIn(AcceptanceTester $I,
343
343
protected function providerLogInWithPayPal (): array
344
344
{
345
345
return [
346
- ['blPayPalLoginWithPayPalEMail ' => false ],
347
- ['blPayPalLoginWithPayPalEMail ' => true ]
346
+ ['oscPayPalLoginWithPayPalEMail ' => false ],
347
+ ['oscPayPalLoginWithPayPalEMail ' => true ]
348
348
];
349
349
}
350
350
0 commit comments