keyware: remove payment_methods parameter (#43030)

This commit is contained in:
Valentin Deniaud 2020-05-18 17:57:05 +02:00
parent 6e96d123ba
commit c038a9f2d0
2 changed files with 0 additions and 8 deletions

View File

@ -54,11 +54,6 @@ class Payment(PaymentCommon):
'caption': _('API key'),
'required': True,
},
{
'name': 'payment_methods',
'caption': _('Allowed payment methods'),
'type': list,
},
],
}
@ -76,8 +71,6 @@ class Payment(PaymentCommon):
'last_name': last_name,
}
}
if self.payment_methods:
body['payment_methods'] = self.payment_methods
resp = self.call_endpoint('POST', 'orders', data=body)
return resp['id'], URL, resp['order_url']

View File

@ -146,7 +146,6 @@ def keyware():
'normal_return_url': RETURN_URL,
'automatic_return_url': WEBHOOK_URL,
'api_key': API_KEY,
'payment_methods': ['ideal'],
})