Skip to content

Commit

Permalink
make Chargehive connector implement GooglePayCredential (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
fobilow authored Jun 27, 2024
1 parent 12f896f commit 38bfa7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions connectorconfig/chargehive.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,10 @@ func (c *ChargeHiveCredentials) GetApplePay() *ApplePayEmbedded {
func (c *ChargeHiveCredentials) GetGooglePay() *GooglePayEmbedded {
return c.GooglePay
}

func (c *ChargeHiveCredentials) GetGooglePayParams() map[string]string {
return map[string]string{
"gateway": "chargehive",
"gatewayMerchantId": c.GetGooglePay().GetGoogleCardMerchantId(),
}
}

0 comments on commit 38bfa7b

Please sign in to comment.