Skip to content

Commit

Permalink
Issue thephpleague#107 - updated docs for Sage 50 Accounts Software I…
Browse files Browse the repository at this point in the history
…ntegration
  • Loading branch information
harnasz committed Sep 16, 2018
1 parent 01f2e46 commit 00943b8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Table of Contents
* [Generating a Token or CardReference](#generating-a-token-or-cardreference)
* [Using a Token or CardRererence](#using-a-token-or-cardrererence)
* [Basket format](#basket-format)
* [Sage 50 Accounts Software Integration](#sage-50-accounts-software-integration)
* [Account Types](#account-types)
* [Sage Pay Server Notification Handler](#sage-pay-server-notification-handler)
* [Support](#support)
Expand Down Expand Up @@ -430,6 +431,26 @@ but is also the only format currently supported by some of the Sage accounting p
For applications that require this type of integration, an optional parameter `useOldBasketFormat`
with a value of `true` can be passed in the driver's `initialize()` method.


## Sage 50 Accounts Software Integration

The Basket format can be used for Sage 50 Accounts Software Integration:

> It is possible to integrate your Sage Pay account with Sage Accounting products to ensure you can
> reconcile the transactions on your account within your financial software.
> If you wish to link a transaction to a specific product record this can be done through the Basket field
in the transaction registration post.
> Please note the following integration is not currently available when using BasketXML fields.
> In order for the download of transactions to affect a product record the first entry in a basket line needs
to be the product code of the item within square brackets. For example:

```
4:[PR001]Pioneer NSDV99 DVD-Surround Sound System:1:424.68:74.32:499.00:499.00
```

You can either prepend this onto the description or using `\Omnipay\SagePay\Extend\Item` you can use `setProductCode`
which will take care of pre-pending `[]` for you.

# Account Types

Your Sage Pay account will use separate merchant accounts for difference transaction sources.
Expand Down

0 comments on commit 00943b8

Please sign in to comment.