Braintree iOS V4 Drop-In UI: How to skip the select payment method action sheet - braintree

I'm using the Braintree iOS V4 Drop-in UI during the sign-up process to create a subscription.
The drop in UI shows an action sheet to select the payment method and then a second screen to provide credit card information.
Is it possible to skip the payment method selection screen and take the user directly to the card details screen?
Here's the screen that I'd like to skip

Response from Braintree support:
At this time, we do not offer any ways to skip the payment sheet and
go straight to the credit card form with the Drop-in UI integration.
With that in mind, you can build your own view to collect the credit
card information and tokenize it with the low-level tokenization API.
This approach allows you to design your checkout flow in any way you
want.

Related

Chatbot with multiselect option (for Microsoft Teams) [duplicate]

We have a chatbot which interacts with user based on related queries provided as buttons. But the issue here is he can only select one query through button. So I wanted a way through which user can select multiple query from dropdown or checkboxes. Upon searching I cam across this link:
"Allow users to multiselect option in BotFramework"
Now this is something which can help me, but I wanted to confirm that the adaptive card c# bot framework in used in the link can is compatible with Azure bot services or not ?? Can I use this Adaptive Card botframework in Azure bot services ?
I am noob in this and just started with chatbots and all so any suggestion will help or if there is any other better way to implement multi-select options then it will do as well.
Adaptive Cards have little to do with the Azure Bot Service. When it comes to whether or not Adaptive Cards are supported, that is entirely determined by the front end because that's where an Adaptive Card renderer would be. In the case of chat bots the front end would be a chat platform, which the Bot Framework calls a bot "channel." It's important to understand that a lot of bot behavior is channel-specific, and so you need to consider what channel you're using. The two main Bot Framework channels that support Adaptive Cards are Microsoft Teams and Bot Framework Web Chat. You can see an official list of platforms that support Adaptive Cards here: https://learn.microsoft.com/adaptive-cards/resources/partners
If you're using a channel that doesn't support Adaptive Cards, there may be some other channel-specific feature that allows users to select multiple options, such as Slack's block kit. If there isn't, then you may have to design the bot to gather information through a dialog. This could be complicated, but the FormFlow library might help. If you build your own dialog then there's no reason it couldn't still use buttons. You could have a submit button that the user clicks after they've clicked the other buttons, though this might require some more advanced bot development skills.
If you'd like to know more about Adaptive Cards, please have a look at my blog post: https://blog.botframework.com/2019/07/02/using-adaptive-cards-with-the-microsoft-bot-framework/

Chatbot with multiselect option

We have a chatbot which interacts with user based on related queries provided as buttons. But the issue here is he can only select one query through button. So I wanted a way through which user can select multiple query from dropdown or checkboxes. Upon searching I cam across this link:
"Allow users to multiselect option in BotFramework"
Now this is something which can help me, but I wanted to confirm that the adaptive card c# bot framework in used in the link can is compatible with Azure bot services or not ?? Can I use this Adaptive Card botframework in Azure bot services ?
I am noob in this and just started with chatbots and all so any suggestion will help or if there is any other better way to implement multi-select options then it will do as well.
Adaptive Cards have little to do with the Azure Bot Service. When it comes to whether or not Adaptive Cards are supported, that is entirely determined by the front end because that's where an Adaptive Card renderer would be. In the case of chat bots the front end would be a chat platform, which the Bot Framework calls a bot "channel." It's important to understand that a lot of bot behavior is channel-specific, and so you need to consider what channel you're using. The two main Bot Framework channels that support Adaptive Cards are Microsoft Teams and Bot Framework Web Chat. You can see an official list of platforms that support Adaptive Cards here: https://learn.microsoft.com/adaptive-cards/resources/partners
If you're using a channel that doesn't support Adaptive Cards, there may be some other channel-specific feature that allows users to select multiple options, such as Slack's block kit. If there isn't, then you may have to design the bot to gather information through a dialog. This could be complicated, but the FormFlow library might help. If you build your own dialog then there's no reason it couldn't still use buttons. You could have a submit button that the user clicks after they've clicked the other buttons, though this might require some more advanced bot development skills.
If you'd like to know more about Adaptive Cards, please have a look at my blog post: https://blog.botframework.com/2019/07/02/using-adaptive-cards-with-the-microsoft-bot-framework/

How to collect Ad impressions and Revenue data with Facebook Analytics?

How can i collect Ads impression and revenue data with Facebook Analytics?
For instance, i have google ads in the application, i would like to collect these data as if collected IAP data. In firebase, when you integrate your admob account, data of ads are collected automatically.
Is there a way to do it on Facebook Analytics either automatically or manually?
Thanks.
There is no automatic way currently for that, we do (our SDK both for iOS and Android) supports automatic in-app purchase instrumentation. But I guess your case it is more tricky, as this is not really an IAP. Allow me to propose two options:
1) Client side - you integrate FB SDK, hook to Ads impression callback (viewed and/or clicked) and fire custom event, like logEvent('ad', ad_id, ...) or standard event such as logPurchase() event.
Relevant link:
https://developers.facebook.com/docs/app-events
2) Server side - export from GA / Firebase relevant events, and send them to our endpoint .../app_id/activities
Relevant link:
https://developers.facebook.com/docs/marketing-api/app-event-api
Sincerely,
Eli from Facebook Analytics

Integrating payments into chatbot

I wanted to know if it is possible to integrate payments into a chatbot built upon MS Bot Framework without using PayPal/Stripe APIs. I've got a traditional payment gateway that I wish to use for payments, is there any way to render a webpage within a bot window? Also, I'm not entirely sure whether such an approach is safe.
Any other suggestions in terms of approaching this problem are also welcome.
You can simply use depends on the language you're using the CSharp Payment Bot Sample or Node Payment Bot Sample that uses Stripe or if you want to use PayPal, you can just create a Payment Button where the user will have to click on, get redirected to a browser to finish the payment and create an endpoint for PayPal's Instant Payment Notification on your Bot so it can tell when the payment has been processed.

Recurring payments using checkout call and checkout UI in square connect

I already integrate Square api in .net application using 'checkout' api.
https://connect.squareup.com/v2/locations/" + locationID + "/checkouts
and checkout UI provided by Square (https://connect.squareup.com/v2/checkout?c=XXXXX).
It is working fine now.
My new functionality is to subscribe a plan and pay using the square. When i search, I found out that I need to create customer and customercard and need to charge the customer card by using 'charge' api.
Is there any provision to use the 'checkout' api for the subscription...? If it is no, Is there any built in UI for charge api implementation...?
whether I need to implement my own UI for capturing the card details...?
Thanks in Advance
There is no provision for using the checkout API for recurring payments at this moment.
There is no pre-built UI for the charge API, that is essentially what the Checkout API is.
You will need to implement your own UI using the PaymentForm as well as some way to capture customer details so that you can create a customer to attach the card nonce to.
Hope that helps.

Resources