A solar junction box (102) includes a housing (130) having a base (132) and walls (134) defining a cavity (136). The base has an opening (140) configured to receive a conductive foil (116). A power cable (104) is held in the housing having a power terminal (148) terminated to an end of the power cable positioned within the housing. An electronic module (150) is removably received in the cavity. The electronic module has a circuit board (210) including electronic components (212) mounted to the circuit board, a foil contact (230) configured to be removably coupled to the foil, and a power contact (232) configured to be removably coupled to the power terminal. The circuit board has a power circuit electrically connecting the foil contact and the power contact.