0

I have installed two payment gateways on magento 2. Ccavenue payment gateway for India and PayPal for other countries. When we enter the PIN code of India, the payment gateway (Ccavenue payment gateway) is displayed. But when you enter the PIN code of any country outside, then Paypal is not visible. But after refreshing the page, Paypal appearsenter image description here

Before Refresh After Refresh enter image description here

error Showing in console Uncaught TypeError: items is not a function at collection.js:276 at Function..each..forEach (underscore.js:150) at UiClass._updateCollection (collection.js:275) at UiClass.removeChild (collection.js:129) at UiClass. (element.js:547) at Array.forEach () at UiClass._clearRefs (element.js:546) at UiClass.destroy (element.js:514) at UiClass._super (wrapper.js:106) at UiClass.destroy (collection.js:235) at UiClass.destroy (wrapper.js:109) at iterator (observable_array.js:24) at underscore.js:73 at Function..each..forEach (underscore.js:145) at Function.each (observable_array.js:50) at UiClass.destroy (collection.js:237)

2
  • any errors in console or error log?
    – MagenX
    Commented Oct 14, 2019 at 12:46
  • @MagenX can't post error in the comment box that's replyed in new ans please check this Commented Oct 14, 2019 at 12:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.