Timeline for Payment method in magento2?
Current License: CC BY-SA 3.0
28 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2021 at 11:04 | comment | added | Utsav Gupta | This example not working on ONE STEP CHECKOUT. Does anyone has example of that? | |
Mar 1, 2018 at 11:50 | comment | added | Siarhey Uchukhlebau | @PriyaM Sure, I'll try to clarify it for you when I'll have some free time. | |
Mar 1, 2018 at 11:33 | comment | added | Siarhey Uchukhlebau | @PriyaM Please, ask a separate question, add code you are using inside and send me a link, I'll try to help :) | |
Mar 1, 2018 at 11:15 | comment | added | Siarhey Uchukhlebau |
@PriyaM you should add it in the template (.html )
|
|
Mar 1, 2018 at 11:04 | comment | added | Mahi M | how to show some massage in cod payment section | |
Feb 23, 2018 at 7:23 | comment | added | Mahi M | I have solved that error........... | |
Feb 22, 2018 at 11:26 | comment | added | Siarhey Uchukhlebau | @PriyaM It's hard to say something without a full plugin code. :( | |
Feb 22, 2018 at 11:24 | comment | added | Mahi M | I see the error and also Place order button not showing in cod when the guest login .after reloading page is working fine.....if user is customer ,then its not return any error.... | |
Feb 22, 2018 at 11:23 | comment | added | Siarhey Uchukhlebau |
@PriyaM this error is not related to the code you added in the plugin. Check the place where you are using checkoutConfig.payment.instructions and try to detect why it is undefined (has no value).
|
|
Feb 22, 2018 at 11:21 | comment | added | Mahi M | TypeError: window.checkoutConfig.payment.instructions is undefined | |
Feb 22, 2018 at 11:20 | comment | added | Siarhey Uchukhlebau | @PriyaM Could you add error body here? | |
Feb 22, 2018 at 11:19 | comment | added | Mahi M | its throw js error in checkout page | |
Feb 21, 2018 at 13:05 | comment | added | Siarhey Uchukhlebau |
@PriyaM The best way is using $state->getAreaCode() as in my example (see the __construct method).
|
|
Feb 21, 2018 at 12:56 | vote | accept | Mahi M | ||
Feb 21, 2018 at 12:44 | comment | added | Siarhey Uchukhlebau | @PriyaM See updated answer - update #3 | |
Feb 21, 2018 at 12:44 | history | edited | Siarhey Uchukhlebau | CC BY-SA 3.0 |
added 1196 characters in body
|
Feb 21, 2018 at 12:39 | comment | added | Mahi M | getConfig() function for both front and backend? | |
Feb 21, 2018 at 12:23 | comment | added | Siarhey Uchukhlebau | @PriyaM Please see my updated answer with clarification | |
Feb 21, 2018 at 12:22 | history | edited | Siarhey Uchukhlebau | CC BY-SA 3.0 |
added 718 characters in body
|
Feb 21, 2018 at 12:12 | comment | added | Mahi M | if ($quote === null) { $quote = $this->session->getQuote(); }why quote is null for frontend | |
Feb 21, 2018 at 12:01 | comment | added | Siarhey Uchukhlebau | @PriyaM Please, check updated code in my answer, I added quote detection. | |
Feb 21, 2018 at 12:00 | history | edited | Siarhey Uchukhlebau | CC BY-SA 3.0 |
added 2696 characters in body
|
Feb 21, 2018 at 11:40 | comment | added | Mahi M | .it has quote....I can get pincode backend only from this quote...But i need it both ends | |
Feb 21, 2018 at 11:37 | comment | added | Siarhey Uchukhlebau | @PriyaM This plugin works for the backend and frontend. Could you update your question with actual conditions you are using? | |
Feb 21, 2018 at 11:22 | comment | added | Mahi M | $pinCode = $this->_pincodeModel->isCODAvailable($quote->getShippingAddress()->getPostcode()) ? "yes" : "no"; if ($pinCode == 'no') { return false; }..........................its working for backend only | |
Feb 21, 2018 at 11:19 | comment | added | Siarhey Uchukhlebau | In the class 'Magento\OfflinePayments\Model\Cashondelivery' | |
Feb 21, 2018 at 11:17 | comment | added | Mahi M | where to call isAvailable() method in core | |
Feb 21, 2018 at 11:11 | history | answered | Siarhey Uchukhlebau | CC BY-SA 3.0 |