-
Notifications
You must be signed in to change notification settings - Fork 0
Update docs with new features #38
base: master
Are you sure you want to change the base?
Conversation
…ce bankAccount with bban
…Add bic and bankName, docs text cleanup
@@ -1,7 +1,7 @@ | |||
(function () { | |||
Rebilly.initialize({ | |||
publishableKey: 'pk_sandbox_1234567890', | |||
locale: Rebilly.locales.es, | |||
locale: 'es-ES', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good 👌 but it depends on the i18n
refactoring in FramePay, which is not released yet (see internal FramePay PR #203).
If this gets merged, the docs will not be working properly anymore - perhaps we should consider shipping this update separately, once there are no blockers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(There's a few different places doing this in the PR)
|
||
## 91 (2020-01-20) | ||
### Added | ||
- `bic` and `bankName` element types for `Rebilly.bban` and `Rebilly.iban` namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `bic` and `bankName` element types for `Rebilly.bban` and `Rebilly.iban` namespace | |
- `bic` and `bankName` element types for the `Rebilly.bban` and `Rebilly.iban` namespaces. |
## 91 (2020-01-20) | ||
### Added | ||
- `bic` and `bankName` element types for `Rebilly.bban` and `Rebilly.iban` namespace | ||
see [Rebilly.bban.mount](./reference/rebilly.md#rebilly-bban-mount) and [Rebilly.iban.mount](./reference/rebilly.md#rebilly-iban-mount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see [Rebilly.bban.mount](./reference/rebilly.md#rebilly-bban-mount) and [Rebilly.iban.mount](./reference/rebilly.md#rebilly-iban-mount) | |
See [Rebilly.bban.mount](./reference/rebilly.md#rebilly-bban-mount) and [Rebilly.iban.mount](./reference/rebilly.md#rebilly-iban-mount). |
## 90 (2020-01-14) | ||
### Deprecated | ||
- `Rebilly.bankAccount` namespace. | ||
The namespace `Rebilly.bankAccount` deprecated but still works, this namespace moved to `Rebilly.bban` namespace with changes of element type names. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The namespace `Rebilly.bankAccount` deprecated but still works, this namespace moved to `Rebilly.bban` namespace with changes of element type names. | |
The namespace `Rebilly.bankAccount` is now deprecated, but it currently still works. This namespace is now moved to the `Rebilly.bban` namespace and there are changes to the names of element type. |
|
||
```javascript | ||
{ | ||
publishableKey:'', | ||
publishableKey: 'String, required', | ||
organizationId: 'String, no-required', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
organizationId: 'String, no-required', | |
organizationId: 'String, optional', |
|
||
## 92 (2020-01-24) | ||
### Added | ||
- `organizationId` configuration property (String, no-required) see [configuration.organizationId](./configuration/properties.md#organizationid) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `organizationId` configuration property (String, no-required) see [configuration.organizationId](./configuration/properties.md#organizationid) | |
- `organizationId` configuration property (String, optional). See [configuration.organizationId](./configuration/properties.md#organizationid). |
@@ -10,21 +10,35 @@ A Rebilly publishable <a href="https://app.rebilly.com/api-keys/add">API key</a> | |||
|
|||
<<< @/docs/.vuepress/public/examples/example-publishablekey-1/index.js | |||
|
|||
## organizationId | |||
Your organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your organization identifier in scope of which need to perform request (if not specified, the default organization will be used). | |
Your organization identifier, in the scope of which requests are performed. (If it is not specified, the default organization will be used). |
- `emails` | ||
|
||
--- | ||
Only for the [BBAN](./rebilly.md#rebilly-bban-mount) and [IBAN](./rebilly.md#rebilly-iban-mount) methods we support additional fields `bic` and `bankName` that can be automatically gathered by FramePay if they are present within the form with a `data-rebilly` attribute: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only for the [BBAN](./rebilly.md#rebilly-bban-mount) and [IBAN](./rebilly.md#rebilly-iban-mount) methods we support additional fields `bic` and `bankName` that can be automatically gathered by FramePay if they are present within the form with a `data-rebilly` attribute: | |
Exclusively for the [BBAN](./rebilly.md#rebilly-bban-mount) and [IBAN](./rebilly.md#rebilly-iban-mount) methods we support the additional fields `bic` and `bankName`, which can be automatically gathered by FramePay if they are present within the form with a `data-rebilly` attribute: |
|
||
--- | ||
|
||
For example, to collect the `firstName` and `lastName` when the token is created you can setup your form as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, to collect the `firstName` and `lastName` when the token is created you can setup your form as follows: | |
For example, to collect the `firstName` and `lastName` when the token is created, you can setup your form as follows: |
Co-Authored-By: Irena Angelova <rensftw@users.noreply.github.com>
Checks:
Description
Changes
bankAccount
withbban
organizationId
configuration propertybic
andbankName
details