I don’t think the two things are connected.
Thr card may be working but may have other problems like address does not match the phone region or saved shipping address. Contact Apple Support directly. Depending on your region, you may be able to reach them here:Â contact Apple SupportÂ
Re the button:
You should arrange a repair
https://support.apple.com/iphone/repair/service
Anything other than Screen or Battery may be a replacement phone and the price is in the article, depending on your warranty or AppleCare+ status.
Â
You can see additional service information within the following article:Â
Get your iPhone, iPad, or iPod touch ready for service - Apple Support
Â