I would say it DOES matter and you should place the trust badge in BOTH positions.
If you try checking out, you'll see that when people land on the checkout page, there's no footer anymore and they won't see any trust badges.
On checkout page is where people decide whether to provide their Card details and it's an important moment.
You can read this article about checkout page best practices to optimize conversion rate.
I hope this helps!