keyware: remove payment_methods parameter (#43030)
This commit is contained in:
parent
6e96d123ba
commit
c038a9f2d0
|
@ -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']
|
||||
|
|
|
@ -146,7 +146,6 @@ def keyware():
|
|||
'normal_return_url': RETURN_URL,
|
||||
'automatic_return_url': WEBHOOK_URL,
|
||||
'api_key': API_KEY,
|
||||
'payment_methods': ['ideal'],
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue