Merge pull request #4137 from expsa/dev_odex25_donation
Dev odex25 donation
This commit is contained in:
commit
19012fe59b
|
|
@ -16,8 +16,8 @@ class PaymentTransaction(models.Model):
|
|||
@api.model
|
||||
def _applepay_form_get_tx_from_data(self, data):
|
||||
reference, txn_id = data.get('ndc'), data.get('tx_id')
|
||||
if not reference or not txn_id:
|
||||
error_msg = _('ApplePay: received data with missing reference (%s) or txn_id (%s)') % (reference, txn_id)
|
||||
if not txn_id:
|
||||
error_msg = _('ApplePay: received data with missing transaction id (%s)') % (txn_id)
|
||||
_logger.info(error_msg)
|
||||
raise ValidationError(error_msg)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue