Timeline for Not able to initialise the JS library on checkout page to utilize it on click of place order
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 7, 2019 at 6:06 | answer | added | Garry | timeline score: 1 | |
Nov 1, 2019 at 12:01 | comment | added | Garry | Let us continue this discussion in chat. | |
Nov 1, 2019 at 11:59 | history | edited | Garry | CC BY-SA 4.0 |
added 1491 characters in body
|
Nov 1, 2019 at 11:57 | comment | added | Rakesh Varma | update code in question | |
Nov 1, 2019 at 11:55 | comment | added | Garry | I have shortened this code, as no more characters were left to comment. | |
Nov 1, 2019 at 11:54 | comment | added | Garry | ` const iost = IWalletJS.newIOST(IOST); ` This is the code. I want to initialise the IOST in default.js at this path ` vendor_name\module_name\view\frontend\web\js\view\payment `. | |
Nov 1, 2019 at 11:50 | comment | added | Rakesh Varma | is this default.js code? there is no 31 line | |
Nov 1, 2019 at 11:11 | comment | added | Garry |
define( [ 'uiComponent', 'Magento_Checkout/js/model/payment/renderer-list' ], function ( Component, rendererList ) { 'use strict'; rendererList.push( { type: 'iostpay', component: 'Iostpay_Iostpaymagento/js/view/payment/method-renderer/iostpay-method' } ); return Component.extend({}); } ); const iost = IWalletJS.newIOST(IOST); I need this IOST to be initialised. Thanks
|
|
Nov 1, 2019 at 11:07 | comment | added | Rakesh Varma |
can you post default.js code.
|
|
S Nov 1, 2019 at 11:05 | history | suggested | Rakesh Varma | CC BY-SA 4.0 |
code format
|
Nov 1, 2019 at 11:04 | review | Suggested edits | |||
S Nov 1, 2019 at 11:05 | |||||
Nov 1, 2019 at 10:46 | history | asked | Garry | CC BY-SA 4.0 |