Skip to content

Commit

Permalink
Added PayPal partner attribution Id as request header
Browse files Browse the repository at this point in the history
  • Loading branch information
mgesing committed Aug 17, 2016
1 parent 53d6141 commit 972e217
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugins/SmartStore.PayPal/Description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Description: Provides the PayPal payment methods PayPal Standard, PayPal Direct, PayPal Express and PayPal PLUS.
SystemName: SmartStore.PayPal
Group: Payment
Version: 2.6.0
Version: 2.6.0.1
MinAppVersion: 2.5.0
DisplayOrder: 1
FileName: SmartStore.PayPal.dll
Expand Down
1 change: 1 addition & 0 deletions src/Plugins/SmartStore.PayPal/Services/PayPalService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ public PayPalResponse CallApi(string method, string path, string accessToken, Pa
request.Headers["Authorization"] = "Bearer " + accessToken.EmptyNull();
}

request.Headers["PayPal-Partner-Attribution-Id"] = "SmartStoreAG_Cart_PayPalPlus";

if (data.HasValue() && (method.IsCaseInsensitiveEqual("POST") || method.IsCaseInsensitiveEqual("PUT") || method.IsCaseInsensitiveEqual("PATCH")))
{
Expand Down
4 changes: 4 additions & 0 deletions src/Plugins/SmartStore.PayPal/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#Release Notes

##PayPal 2.6.0.1
###Improvements
* Added PayPal partner attribution Id as request header

##Paypal 2.5.0.2
###New Features
* PayPal PLUS payment provider
Expand Down

0 comments on commit 972e217

Please sign in to comment.