File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ public function getData()
316316 }
317317
318318 if ($ this ->getApplicationFee ()) {
319- $ data ['application_fee ' ] = $ this ->getApplicationFeeInteger ();
319+ $ data ['application_fee_amount ' ] = $ this ->getApplicationFeeInteger ();
320320 }
321321
322322 if ($ this ->getTransferGroup ()) {
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ public function getData()
355355 }
356356
357357 if ($ this ->getApplicationFee ()) {
358- $ data ['application_fee ' ] = $ this ->getApplicationFeeInteger ();
358+ $ data ['application_fee_amount ' ] = $ this ->getApplicationFeeInteger ();
359359 }
360360
361361 if ($ this ->getTransferGroup ()) {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function testGetData()
3939 $ this ->assertSame ('Order #42 ' , $ data ['description ' ]);
4040 $ this ->assertSame ('false ' , $ data ['capture ' ]);
4141 $ this ->assertSame (array ('foo ' => 'bar ' ), $ data ['metadata ' ]);
42- $ this ->assertSame (100 , $ data ['application_fee ' ]);
42+ $ this ->assertSame (100 , $ data ['application_fee_amount ' ]);
4343 }
4444
4545 public function testDataWithLevel3 ()
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function testGetData()
4343 $ this ->assertSame ('manual ' , $ data ['confirmation_method ' ]);
4444 $ this ->assertSame ('pm_valid_payment_method ' , $ data ['payment_method ' ]);
4545 $ this ->assertSame (array ('foo ' => 'bar ' ), $ data ['metadata ' ]);
46- $ this ->assertSame (100 , $ data ['application_fee ' ]);
46+ $ this ->assertSame (100 , $ data ['application_fee_amount ' ]);
4747 $ this ->assertSame ('off_session ' , $ data ['setup_future_usage ' ]);
4848 $ this ->assertSame ('false ' , $ data ['off_session ' ]);
4949 }
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function testGetData()
3939 $ this ->assertSame ('manual ' , $ data ['confirmation_method ' ]);
4040 $ this ->assertSame ('pm_valid_payment_method ' , $ data ['payment_method ' ]);
4141 $ this ->assertSame (array ('foo ' => 'bar ' ), $ data ['metadata ' ]);
42- $ this ->assertSame (100 , $ data ['application_fee ' ]);
42+ $ this ->assertSame (100 , $ data ['application_fee_amount ' ]);
4343 }
4444
4545 public function testSendSuccessAndRequireConfirmation ()
You can’t perform that action at this time.
0 commit comments