Generic charger fix... Need help!

Does anybody know how to go about getting this charging port back into its place, the main box has no screws or anything so I’m not sure how to get it open, thanks.