Skip to content

Docs 4154 #2924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion content/checkout/multiple.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ Payment components require a MultiSafepay API token. See API reference – [Gene
settings: {
connect: {
group_cards: true
qr: {
enabled: true,
autoload: false
}
}
},
Expand All @@ -80,7 +83,8 @@ Payment components require a MultiSafepay API token. See API reference – [Gene
| customer.locale | No | The customer's language. Sets the language of the payment component UI. <br> Format: <a href="https://en.wikipedia.org/wiki/ISO_639" target="_blank">ISO 639</a> <i class="fa fa-external-link" style="font-size:12px;color:#8b929e"></i> <br> Supported languages: `en`, `es`, `fr`, `it`, `nl` |
| customer.reference | Yes, for recurring payments | Your unique customer reference. |
| payment_options.settings.connect.group_cards | No | Groups all card payment methods as a single option in the list of payment methods. <br> Format: Boolean <br> Default: `false`.|
| recurring.model | Yes, for recurring payments | The [recurring model](/docs/recurring-payments/). |
| payment_options.settings.connect.qr.enabled | Allows QR code to be rendered for supported payment methods like: iDEAL, Bancontact, Wechat. Default: `false`.|
| payment_options.settings.connect.qr.autoload| Optional: Allows automatic display of QR code. Default: `true`. |
| template.settings.embed_mode | No | A template designed to blend in seamlessly with your ecommerce platform. <br> Format: Boolean |

<br>
Expand Down Expand Up @@ -260,6 +264,13 @@ The `PaymentComponent` has the following methods:
|`hasErrors`| Returns a boolean value about whether errors were registered. |
|`getOrderData`| Returns an object containing a `payment_data` object and the full order configuration. |
|`getPaymentData`| Returns a `payment_data` object with a `payload` containing the customer's payment details, used to [create orders](/docs/payment-component-single/), and the `gateway`.|
|`onGetQR - |Once autoload or QR button clicked, onGetQr will be triggered. ⚠️ At this point, the webshop needs to create an order with payment_data on server side, including all necessary customer information. The response should be used to initialize the QR component `MSP.setQR({...})`
<br> onGetQR: function (state) {
console.log('onGetQR', state);
createMerchantOrderInServerSide(state.orderData).then(response => {
PaymentComponent.setQR({
order: response.data |
|`setQR `| Helper to render the QR code with order information obtained from the result in callback onGetQR.|

</details>

Expand Down
6 changes: 4 additions & 2 deletions content/payment-methods/direct-debit.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ The table below sets out the <<glossary:order status>> and <<glossary:transactio
| MultiSafepay's customer background check was successful and we've generated an [e-mandate](#e-mandates). | Uncleared | Initialized |
| We've sent the e-mandate to the customer's bank. You can no longer cancel. | Uncleared | Uncleared |
| MultiSafepay has collected payment.| Completed | Completed |
| The customer cancelled the transaction or requested a chargeback, or their bank declined the transaction. | Void | Void |
| The customer's bank declined the transaction. See the [reason codes](#declined-transactions) below. | Declined | Declined |
| The customer cancelled the transaction, or their bank declined the transaction. | Void | Void |
| The customer's bank declined the transaction. See the [reason codes](#declined-transactions) below. | Declined | Declined
| **Refunds:** Refund initiated. | Reserved | Reserved |
| **Refunds:** Refund complete. | Completed | Completed |
|**Chargebacks** - original transaction: Chargeback complete |Completed |Chargedback |
|**Chargebacks** - chargeback transaction: Chargeback complete | Completed | Completed |

# Activation

Expand Down