Prevent multiple clicks in BraintreeDropIn for payment on iOS
up vote
0
down vote
favorite
I use BraintreeDropIn for payment. And when I clicked PayPal, the response from the server takes a while, so it is possible for me to click the button multiple times.
How I can block clicks in BraintreeDropIn after the user has clicked the payment method? And unblock when user payment or cancel.
ios swift braintree braintree-sandbox
New contributor
add a comment |
up vote
0
down vote
favorite
I use BraintreeDropIn for payment. And when I clicked PayPal, the response from the server takes a while, so it is possible for me to click the button multiple times.
How I can block clicks in BraintreeDropIn after the user has clicked the payment method? And unblock when user payment or cancel.
ios swift braintree braintree-sandbox
New contributor
Can you update your question with the part of your code that handles this functionality? This will help the community advise you. For more info on what information you should include in a question, check out Stack Overflow's documentation.
– hollabaq
Nov 19 at 13:46
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I use BraintreeDropIn for payment. And when I clicked PayPal, the response from the server takes a while, so it is possible for me to click the button multiple times.
How I can block clicks in BraintreeDropIn after the user has clicked the payment method? And unblock when user payment or cancel.
ios swift braintree braintree-sandbox
New contributor
I use BraintreeDropIn for payment. And when I clicked PayPal, the response from the server takes a while, so it is possible for me to click the button multiple times.
How I can block clicks in BraintreeDropIn after the user has clicked the payment method? And unblock when user payment or cancel.
ios swift braintree braintree-sandbox
ios swift braintree braintree-sandbox
New contributor
New contributor
edited Nov 19 at 12:27
Martin Wiboe
1,28512240
1,28512240
New contributor
asked Nov 19 at 11:38
Николай Титан
12
12
New contributor
New contributor
Can you update your question with the part of your code that handles this functionality? This will help the community advise you. For more info on what information you should include in a question, check out Stack Overflow's documentation.
– hollabaq
Nov 19 at 13:46
add a comment |
Can you update your question with the part of your code that handles this functionality? This will help the community advise you. For more info on what information you should include in a question, check out Stack Overflow's documentation.
– hollabaq
Nov 19 at 13:46
Can you update your question with the part of your code that handles this functionality? This will help the community advise you. For more info on what information you should include in a question, check out Stack Overflow's documentation.
– hollabaq
Nov 19 at 13:46
Can you update your question with the part of your code that handles this functionality? This will help the community advise you. For more info on what information you should include in a question, check out Stack Overflow's documentation.
– hollabaq
Nov 19 at 13:46
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Николай Титан is a new contributor. Be nice, and check out our Code of Conduct.
Николай Титан is a new contributor. Be nice, and check out our Code of Conduct.
Николай Титан is a new contributor. Be nice, and check out our Code of Conduct.
Николай Титан is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373839%2fprevent-multiple-clicks-in-braintreedropin-for-payment-on-ios%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you update your question with the part of your code that handles this functionality? This will help the community advise you. For more info on what information you should include in a question, check out Stack Overflow's documentation.
– hollabaq
Nov 19 at 13:46