← All changes
|
src/PaymentGateways/DataTransferObjects/FormData.php
+2
-0
2.30.0
→
4.16.9
View file →
| @@ -169,8 +169,9 @@ | ||
| 169 | 169 | return $self; |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | + * @since 3.2.0 added support for honorific field | |
| 173 | 174 | * @since 2.22.0 add support for company field |
| 174 | 175 | * @since 2.19.6 |
| 175 | 176 | * @throws Exception |
| 176 | 177 | */ |
| @@ -180,8 +181,9 @@ | ||
| 180 | 181 | 'status' => DonationStatus::PENDING(), |
| 181 | 182 | 'gatewayId' => $this->paymentGateway, |
| 182 | 183 | 'amount' => Money::fromDecimal($this->price, $this->currency), |
| 183 | 184 | 'donorId' => $donorId, |
| 185 | + 'honorific' => $this->donorInfo->honorific, | |
| 184 | 186 | 'firstName' => $this->donorInfo->firstName, |
| 185 | 187 | 'lastName' => $this->donorInfo->lastName, |
| 186 | 188 | 'email' => $this->donorInfo->email, |
| 187 | 189 | 'formId' => $this->formId, |