cancel
Showing results for 
Search instead for 
Did you mean: 

Credit card form not appear in Magento 2 custom plugin

Credit card form not appear in Magento 2 custom plugin

Hello,

 

I have installed a magento 2 custom payment plugins. But credit card form is not showing in checkout. Anyone here can help me please? Its urgent.

 

https://github.com/magento/magento2-samples/tree/master/sample-module-payment-gateway

9 REPLIES

Re: Credit card form not appear in Magento 2 custom plugin

@artis

 

https://github.com/Inchoo/magento2-Inchoo_Stripe/blob/master/view/frontend/web/template/payment/stri...

 

check above link, you will got an idea how to add form.

 

If it will work then mark as solution.

 

Re: Credit card form not appear in Magento 2 custom plugin

Thanks for your reply. I used this and its showing the below error.

 

 

a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:12505:"0 D:\xampp\htdocs\magento-217-demo\vendor\magento\framework\View\Element\UiComponent\Config\Reader.php(95):

Re: Credit card form not appear in Magento 2 custom plugin

@artis

 

can you please remove var/cache, var/di, var/generation , var/view_processed, var/page_cache and try it.

Re: Credit card form not appear in Magento 2 custom plugin

Yes I did it already  but same error.


error.jpg

Re: Credit card form not appear in Magento 2 custom plugin

OK I resolved that errors. But still stripe payment method is not coming in checkout. Its showing this below in log.

 

main.CRITICAL: Broken reference: No element found with ID 'checkout.header.wrapper'. [] []

Re: Credit card form not appear in Magento 2 custom plugin

Re: Credit card form not appear in Magento 2 custom plugin

Its default Magento 2

Re: Credit card form not appear in Magento 2 custom plugin

Hello,

 

set production into app/etc/env.php and check it.

Re: Credit card form not appear in Magento 2 custom plugin

Already applied, but still not working.