File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/test/java/net/authorize/api/controller Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,16 @@ public void createTransactionWithApplePay()
92
92
}
93
93
94
94
@ Test
95
- @ Ignore ("Temporarily disabled; There is an service-side issue with the firewall configuration." )
96
95
public void createTransactionWithPayPal ()
97
96
{
97
+ /*
98
+ * Please enable the PayPal feature of your ANet account.
99
+ */
98
100
PayPalType payPalData = new PayPalType ();
99
101
payPalData .setPaypalLc ("IT" );
100
102
payPalData .setPaypalPayflowcolor ("FFFF00" );
103
+ payPalData .setSuccessUrl ("https://success.anet.net" );
104
+ payPalData .setCancelUrl ("https://cancel.anet.net" );
101
105
102
106
PaymentType paymentType = new PaymentType ();
103
107
paymentType .setPayPal (payPalData );
Original file line number Diff line number Diff line change @@ -253,8 +253,8 @@ public void setUp() throws Exception {
253
253
encryptedTrackDataOne .setFormOfPayment (keyBlock );
254
254
255
255
payPalOne = new PayPalType ();
256
- payPalOne .setSuccessUrl (getRandomString ("http ://success.anet.net" ));
257
- payPalOne .setCancelUrl (getRandomString ("http ://cancel.anet.net" ));
256
+ payPalOne .setSuccessUrl (getRandomString ("https ://success.anet.net" ));
257
+ payPalOne .setCancelUrl (getRandomString ("https ://cancel.anet.net" ));
258
258
payPalOne .setPaypalLc (getRandomString ("Lc" ));
259
259
payPalOne .setPaypalHdrImg (getRandomString ("Hdr" ));
260
260
payPalOne .setPaypalPayflowcolor (getRandomString ("flowClr" ));
You can’t perform that action at this time.
0 commit comments