How to get information about payment method at checkout step

Highlighted
New Member
2 0 0

Hello,

I added my manual payment method and I changed my order processing options in checkout settings by adding following script:

 

<script type="text/javascript">
console.log(
  JSON.stringify(window.Shopify, null, 2),
);
</script>

 

I just wanted to see what's in global Shopify object. However, the information about my payment method I created before is not there.

Why is that?

How can I know which payment was selected?

Thanks

0 Likes