Skip to content

Commit

Permalink
Merge pull request #1 from vladutcornel/feature/card-holder
Browse files Browse the repository at this point in the history
Ask for card holder
  • Loading branch information
octavianvoloaca-tremend committed Feb 5, 2021
2 parents 597e6bf + bd18f15 commit 0525659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -143,6 +143,7 @@ public void paymentMethods(String paymentMethodsJson) {
isDropIn = true;
CardConfiguration cardConfiguration =
new CardConfiguration.Builder(Locale.getDefault(), environment, publicKey)
.setHolderNameRequire(true)
.build();
this.cardConfiguration = cardConfiguration;
Intent resultIntent = new Intent(this.getCurrentActivity(), this.getCurrentActivity().getClass());
Expand Down
1 change: 1 addition & 0 deletions ios/AdyenDropInPayment.swift
Expand Up @@ -45,6 +45,7 @@ extension AdyenDropInPayment: DropInComponentDelegate {
@objc func configPayment(_ publicKey: String, env: String) {
configuration = DropInComponent.PaymentMethodsConfiguration()
configuration?.card.publicKey = publicKey
configuration?.card.showsHolderNameField = true
self.publicKey = publicKey
configuration?.card.showsStorePaymentMethodField = true
envName = env
Expand Down

0 comments on commit 0525659

Please sign in to comment.