2.5.0 • Published 9 months ago
@alma/in-page v2.5.0
What is InPage?
InPage is a payment method that allows you to integrate the Alma experience directly into your website.
Setup
JS
<script src="https://cdn.jsdelivr.net/npm/@alma/in-page@2.x/dist/index.umd.js"></script>
Create the container
<div id="alma-inpage"></div>
Basic example
const inPage = Alma.InPage.initialize({
merchantID: "merchantID",
selector: "#alma-inpage",
amountInCents: 10000, // 100€
installmentsCount: 3,
});
// When your customer clicks on `pay` button, call the API to generate a payment
// Start the payment (open the modal)
inPage.startPayment({
paymentID: "paymentID",
});
The complete flow looks like this :
Going further
Read the full documentation to learn more about InPage API.
2.5.0
9 months ago
2.4.3
10 months ago
2.4.4
10 months ago
2.4.1
10 months ago
2.4.0
10 months ago
2.4.2
10 months ago
2.3.8
1 year ago
2.3.7
1 year ago
2.3.6
1 year ago
2.3.4
1 year ago
2.3.5
1 year ago
2.3.3
1 year ago
2.3.2
2 years ago
2.3.1
2 years ago
2.3.0
2 years ago
2.1.2
2 years ago
2.2.0
2 years ago
2.1.1
2 years ago
1.0.9
2 years ago
2.0.2
2 years ago
1.0.10
2 years ago
2.1.0
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.1.1
2 years ago