#Emmanuel G.-wechat-payment

1 messages · Page 1 of 1 (latest)

vapid parrot
#

hello, can you give a bit more details? like, how are you integrating? with PaymentIntents I assume?

slow path
#

Say with payment intents and the payment element

#

Im using webview for my purchase page on client, and wanted to know if passing in "android" for the value if the purchase is made on the webview of the android app will change anything

vapid parrot
#

ok that is more helpful but what do you mean by

and wanted to know if passing in "android" for the value
passing that value where?

#

I guess I'm still unclear on what you are trying to solve

slow path
#

when the payment intent gets created, I can check if the user is on ios android or web. If the user is on android, if I set the client to "android" when creating the intent for my payment element, how does that affect wechat pay if the user uses that for a purchases

#

Like does it open the app if the user has the app or does it still get treated how it would on web

clever glacier
#

👋 I'm hopping in since @vapid parrot has to head out - give me a minute

#

Just double checking here - can you clarify why you/what you're trying to accomplish by passing in a value other web for the client?

slow path
#

So for our mobile apps, we use webview for our purchasing page. When Wechat gets selected though and a purchase goes through the user has to scan the qr code, which from what my support team has told me they have to screenshot their phone, scan the qr code in their images and then get sent to wechatpay. I was hoping that setting this value will let the element know that the purchase is being made on a specific type of device and change how wechat pay loads to make the purchases easier for the different clients

clever glacier
#

Gotcha - I believe you'd still want web as the client in that case, but let me do some more digging and check

#

Yeah you'll still want to use web here. The other options are more for if you want to integrate with the Wechat pay app itself (and if you want to go down that route you should talk to support (https://support.stripe.com/contact))

slow path
#

When you say with the wechat pay app itself what exactly do you mean. Like integrate utilizing wechat pay api?

clever glacier
#

I don't know fully how the mobile-flow works (it's not public, which is why you'd need to talk to support)