-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from xendit/feat/add-missing-recurring-paymen…
…t-properties #116 Add missing recurring payment properties
- Loading branch information
Showing
7 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
const EXT_ID = '123'; | ||
const PAYER_EMAIL = 'stanley@xendit.co'; | ||
const PAYER_EMAIL = 'dummy@email.co'; | ||
const DESCRIPTION = 'Payment for something'; | ||
const AMOUNT = 10000; | ||
const INTERVAL = 'MONTH'; | ||
const INTERVAL_COUNT = 1; | ||
const PAYMENT_ID = '5e0577bdf4d38b20d542009b'; | ||
const START_DATE = '2020-01-31T17:00:00.000Z'; | ||
const CUSTOMER = { | ||
given_names: 'stan', | ||
email: '[email protected]', | ||
mobile_number: '', | ||
address: '', | ||
}; | ||
|
||
const PAYMENT_DETAILS = { | ||
id: PAYMENT_ID, | ||
|
@@ -16,6 +22,7 @@ const PAYMENT_DETAILS = { | |
interval: INTERVAL, | ||
interval_count: INTERVAL_COUNT, | ||
start_date: START_DATE, | ||
customer: CUSTOMER, | ||
}; | ||
|
||
const UPDATED_AMOUNT = 20000; | ||
|
@@ -35,4 +42,5 @@ module.exports = { | |
START_DATE, | ||
UPDATED_AMOUNT, | ||
UPDATED_PAYMENT_DETAILS, | ||
CUSTOMER, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters