2.3.8 • Published 24 days ago

@alma/in-page v2.3.8

Weekly downloads
-
License
-
Repository
github
Last release
24 days ago

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 : Schema

Going further

Read the full documentation to learn more about InPage API.

2.3.8

24 days ago

2.3.7

2 months ago

2.3.6

2 months ago

2.3.4

3 months ago

2.3.5

3 months ago

2.3.3

4 months ago

2.3.2

5 months ago

2.3.1

5 months ago

2.3.0

6 months ago

2.1.2

6 months ago

2.2.0

6 months ago

2.1.1

6 months ago

1.0.9

10 months ago

2.0.2

10 months ago

1.0.10

10 months ago

2.1.0

8 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.0.8

11 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.1

1 year ago