Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support old-style basket for Sage integration #67

Merged
merged 12 commits into from
Aug 24, 2016
Merged

Support old-style basket for Sage integration #67

merged 12 commits into from
Aug 24, 2016

Conversation

coatesap
Copy link
Contributor

Resolves #55. Allows you to optionally pass a parameter to force the driver to use the old-style basket format. Currently this is the only format supported by various Sage products such as Line 50, and so is preferable for merchants wishing to automate the import of SagePay transactions into Sage.

gthedev and others added 12 commits August 22, 2016 10:27
Added getUseOldBasketFormat and setUseOldBasketFormat for "useOldBasketFormat" parameter in the DirectGateway class
Added a conditional statement to check which version of basket to send (Basket (old) or BasketXML (newer))
Used if old format of Basket field needs to bent with the request
Old basket format merge back to master
Added information about BasketXML & Basket fields
@delatbabel delatbabel merged commit b1a6aa6 into thephpleague:master Aug 24, 2016
@delatbabel
Copy link
Contributor

Can you please confirm that this works in production and then I will tag for release.

@coatesap
Copy link
Contributor Author

@delatbabel - yes, it's been working in production for some time now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants