Skip to content

Commit

Permalink
Merge pull request #829 from stripe/bdorfman-capitalize-currency-codes
Browse files Browse the repository at this point in the history
Capitalize currency and country codes automatically
  • Loading branch information
bdorfman-stripe authored Nov 6, 2017
2 parents adf2433 + 322c473 commit bffcc33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Stripe/STPAPIClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ + (PKPaymentRequest *)paymentRequestWithMerchantIdentifier:(NSString *)merchantI
[paymentRequest setMerchantIdentifier:merchantIdentifier];
[paymentRequest setSupportedNetworks:[self supportedPKPaymentNetworks]];
[paymentRequest setMerchantCapabilities:PKMerchantCapability3DS];
[paymentRequest setCountryCode:countryCode];
[paymentRequest setCurrencyCode:currencyCode];
[paymentRequest setCountryCode:countryCode.uppercaseString];
[paymentRequest setCurrencyCode:currencyCode.uppercaseString];
return paymentRequest;
}

Expand Down

0 comments on commit bffcc33

Please sign in to comment.