From 73a9bfa742b92eb67877d5bd4e8de069d243b55b Mon Sep 17 00:00:00 2001 From: Jose Diaz Date: Thu, 5 Mar 2020 12:04:48 +0100 Subject: [PATCH] Update AuthorizeRequest.php According Stripe official documentation and also responses from the Stripe API, there was a mistake on the application_fee parameter. It should be application_fee_amount. --- src/Message/AuthorizeRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Message/AuthorizeRequest.php b/src/Message/AuthorizeRequest.php index 2850215e..c9bc6462 100644 --- a/src/Message/AuthorizeRequest.php +++ b/src/Message/AuthorizeRequest.php @@ -284,7 +284,7 @@ public function getData() } if ($this->getApplicationFee()) { - $data['application_fee'] = $this->getApplicationFeeInteger(); + $data['application_fee_amount'] = $this->getApplicationFeeInteger(); } if ($this->getTransferGroup()) {