Skip to content

Commit 1a8c114

Browse files
Renamed Email to EMail field in IRobokassaResponse.
1 parent ca07dac commit 1a8c114

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212

1313
### Fixed
1414
- Fixed calculating signature value with special symbols in userParams (@ in emails).
15+
- Renamed Email to EMail field in IRobokassaResponse.
1516

1617
## 1.0.1 - 2023-05-13
1718
### Changed

src/types/IRobokassaResponse.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ export type IRobokassaResponse = {
1616
*/
1717
Fee: string;
1818

19-
/** EMail, указанный покупателем в процессе оплаты. */
20-
Email?: string;
19+
/** EMail, указанный покупателем в процессе оплаты.
20+
* Не опечатка, Робокасса передает EMail, а не Email.
21+
*/
22+
EMail?: string;
2123

2224
/** Контрольная сумма с Пароль#2 */
2325
SignatureValue: string;
2426

25-
/** Способ оплаты который использовал пользователь при совершении платежа. */
27+
/** Способ оплаты который использовал пользователь при совершении платежа.
28+
* Напрмер, BankCard */
2629
PaymentMethod: string;
2730

2831
/** Валюта, которой платил клиент. */

0 commit comments

Comments
 (0)