1

I'm using the IWD Onestepcheckout extension in combination with PAYONE (3.1.3). And I can't get PAYONEs payment method "Credit Card" to work.

The $configId in payone/core/helper/config.php is empty for this payment method. I think that this causes the error.

When I use Debit Payment or Online Bank Transfer everything works fine and the $configId isn't empty.

Has anyone also had problems with Payones Credit Card and a Onestepcheckout? Any help would be appreciated!

Cheers, Chris.

---- Edit:

Now I've done the checking of data to enable and execute the order to the end. But when paying by credit card, the check is always performed twice. The first time the system always throws the error "Parameter {} cardexpiredate faulty or missing", even though the expiration date is ok. I suspect that something is wrong with the Javascript.

4

1 回答 1

0

payone/core/helper/config.php 中的 $configId 对于此付款方式为空

Payone 依赖于某些方法和 dom 元素的存在。例如,它将在 payment.save() 调用上进行 ajax 验证,并将其自己的值附加到支付表单并替换输入的数据以符合 PCI 合规性。因此,您的任务是检查此方法 payment.save 是否被调用,是否进行了 ajax 验证,以及此验证产生的数据是否传递到需要传递的位置。

为了做到这一点,你需要改变:

  • layout/payone/core.xml
  • iwd/opc/extend.js

你可以在这里找到详细的答案。

于 2015-07-15T19:31:38.173 回答