Skip to content

Commit

Permalink
Merge pull request #109 from sveawebpay/release/3.14.0
Browse files Browse the repository at this point in the history
Navigation object for customer authentication required in SE for invoice payments
  • Loading branch information
alexanderwiden95 committed Sep 28, 2023
2 parents 1fc230f + 3ded463 commit bb26d69
Show file tree
Hide file tree
Showing 63 changed files with 714 additions and 575 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
jobs:
build:
docker:
- image: circleci/php:7.3.7-node-browsers
- image: cimg/php:8.1
steps:
- checkout
- run: sudo apt-get update && sudo apt-get install -y libxml2-dev
Expand Down
1 change: 1 addition & 0 deletions .phpunit.result.cache

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# Svea PHP Integration Package Documentation

### Current build status
| Branch | Build status |
|---------------------------------- |------------------------------------------- |
| master (latest release) | [![Build Status](https://travis-ci.org/sveawebpay/php-integration.png?branch=master)](https://travis-ci.org/sveawebpay/php-integration) |
| develop | [![Build Status](https://travis-ci.org/sveawebpay/php-integration.png?branch=develop)](https://travis-ci.org/sveawebpay/php-integration) |


## Index <a name="index"></a>

* [I. Introduction](#i-introduction)
Expand Down Expand Up @@ -209,6 +202,10 @@ $customerInformation->setNationalIdNumber("194605092222");
// Add the customer to the order:
$myOrder->addCustomerDetails($customerInformation);

// If a stronger authentication is needed (invoice to SE for example) we need to tell where to redirect after successful/rejected authentication
$myOrder->setIdentificationConfirmationUrl('https://mydomain.com/successful-authentication');
$myOrder->setIdentificationRejectionUrl('https://mydomain.com/rejected-authentication');

// We have now completed specifying the order, and wish to send the payment request to Svea. To do so, we first select the invoice payment method:
$myInvoiceOrderRequest = $myOrder->useInvoicePayment();

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sveaekonomi/webpay",
"version": "3.13.1",
"version": "3.14.0",
"description": "Php integration library for Svea Ekonomis payment methods",
"license": "Apache-2.0",
"authors": [
Expand All @@ -16,7 +16,7 @@
"ext-soap": "*"
},
"require-dev": {
"phpunit/phpunit": "^5 || ^6 || ^7"
"phpunit/phpunit": "^8"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit bb26d69

Please sign in to comment.