Download the PHP package tuutti/php-klarna-checkout without Composer
On this page you can find all versions of the php package tuutti/php-klarna-checkout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tuutti/php-klarna-checkout
More information about tuutti/php-klarna-checkout
Files in tuutti/php-klarna-checkout
Package php-klarna-checkout
Short Description The checkout API is used to create a checkout with Klarna and update the checkout order during the purchase. As soon as the purchase is completed the order should be read and handled using the [`Order Management API`](https://docs.klarna.com/api/ordermanagement). Read more on [Klarna checkout](https://docs.klarna.com/klarna-checkout/).
License unlicense
Homepage https://openapi-generator.tech
Informations about the package php-klarna-checkout
php-klarna-checkout
The checkout API is used to create a checkout with Klarna and update the checkout order during the purchase. As soon as the purchase is completed the order should be read and handled using the Order Management API
.\n\nRead more on Klarna checkout.
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Getting Started
Please follow the installation procedure and then run the following:
API Endpoints
All URIs are relative to https://api.klarna.com
Class | Method | HTTP request | Description |
---|---|---|---|
OrderApi | abortOrder | POST /checkout/v3/orders/{order_id}/abort | Abort an order |
OrderApi | createOrderMerchant | POST /checkout/v3/orders | Create an order |
OrderApi | readOrderMerchant | GET /checkout/v3/orders/{order_id} | Get order details |
OrderApi | updateOrderMerchant | POST /checkout/v3/orders/{order_id} | Update an order |
Models
- Address
- Attachment
- Checkbox
- CheckboxV2
- Customer
- DeliveryDetailsV1
- Dimensions
- DiscountLine
- Gui
- MerchantRequested
- MerchantRequestedCheckbox
- MerchantUrls
- Options
- Order
- OrderLine
- PaymentProvider
- PickupLocationV1
- ProductIdentifiers
- ProductV1
- SelectedAddon
- ShippingAttributes
- ShippingOption
- Subscription
- TimeslotV1
Authorization
Authentication schemes defined for the API:
basicAuth
- Type: HTTP basic authentication
Tests
To run the tests, use:
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0.0
- Generator version:
7.4.0
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
All versions of php-klarna-checkout with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
tuutti/php-klarna-base Version ^2.0