mage2pro / allpay

歐付寶 O'Pay (allPay) integration with Magento 2
https://upwork.com/fl/mage2pro
5 stars 0 forks source link

Provide an ability to specify a prefix for the payment identifiers #1

Closed dmitrii-fediuk closed 7 years ago

dmitrii-fediuk commented 7 years ago

It is needed because:

  1. a merchant could use a single allPay merchant account for multiple shops (it is especially true for the test accounts)
  2. a merchant could change (e.g., reset) his Magento store order numeration scheme so the new Magento order numbers will overlap with the previous allPay payment identifiers.

If allPay encounters a payment identifier (the MerchantTradeNo parameter value) which has been already used for another payment, it fails with the message: «訂單編號重覆,建立失敗(100002)» (it can be translated as «failed to make a payment because the order number is already in use»):

01

dmitrii-fediuk commented 7 years ago

It is implemented in 1.6.12.