Skip to content

Commit bb26d69

Browse files
Merge pull request #109 from sveawebpay/release/3.14.0
Navigation object for customer authentication required in SE for invoice payments
2 parents 1fc230f + 3ded463 commit bb26d69

File tree

63 files changed

+714
-575
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+714
-575
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
jobs:
44
build:
55
docker:
6-
- image: circleci/php:7.3.7-node-browsers
6+
- image: cimg/php:8.1
77
steps:
88
- checkout
99
- run: sudo apt-get update && sudo apt-get install -y libxml2-dev

.phpunit.result.cache

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
# Svea PHP Integration Package Documentation
22

3-
### Current build status
4-
| Branch | Build status |
5-
|---------------------------------- |------------------------------------------- |
6-
| master (latest release) | [![Build Status](https://travis-ci.org/sveawebpay/php-integration.png?branch=master)](https://travis-ci.org/sveawebpay/php-integration) |
7-
| develop | [![Build Status](https://travis-ci.org/sveawebpay/php-integration.png?branch=develop)](https://travis-ci.org/sveawebpay/php-integration) |
8-
9-
103
## Index <a name="index"></a>
114

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

205+
// If a stronger authentication is needed (invoice to SE for example) we need to tell where to redirect after successful/rejected authentication
206+
$myOrder->setIdentificationConfirmationUrl('https://mydomain.com/successful-authentication');
207+
$myOrder->setIdentificationRejectionUrl('https://mydomain.com/rejected-authentication');
208+
212209
// 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:
213210
$myInvoiceOrderRequest = $myOrder->useInvoicePayment();
214211

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sveaekonomi/webpay",
3-
"version": "3.13.1",
3+
"version": "3.14.0",
44
"description": "Php integration library for Svea Ekonomis payment methods",
55
"license": "Apache-2.0",
66
"authors": [
@@ -16,7 +16,7 @@
1616
"ext-soap": "*"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^5 || ^6 || ^7"
19+
"phpunit/phpunit": "^8"
2020
},
2121
"autoload": {
2222
"psr-4": {

0 commit comments

Comments
 (0)