Add PayPal-Partner-Attribution-Id to PayPal API-Calls

This commit is contained in:
Martin Gross
2019-07-26 10:59:57 +02:00
parent e83e8cdcc0
commit 34d1fcf077

View File

@@ -178,6 +178,7 @@ class Paypal(BasePaymentProvider):
payee = {}
payment = paypalrestsdk.Payment({
'header': {'PayPal-Partner-Attribution-Id': 'ramiioSoftwareentwicklung_SP'},
'intent': 'sale',
'payer': {
"payment_method": "paypal",
@@ -435,6 +436,7 @@ class Paypal(BasePaymentProvider):
payee = {}
payment = paypalrestsdk.Payment({
'header': {'PayPal-Partner-Attribution-Id': 'ramiioSoftwareentwicklung_SP'},
'intent': 'sale',
'payer': {
"payment_method": "paypal",