#icorney

1 messages ยท Page 1 of 1 (latest)

prime obsidianBOT
echo moat
#

I think it would be your company name in your settings. I don't think the API allows this to be changed

candid whale
#

๐Ÿ‘‹ stepping in

#

However, I assume we fallback if you are testing on a Connected Account without that set

#

Are you initializing as your Connected Account here?

dapper roost
#

I am using my main account, which does have a public business name setup, but it's not showing

candid whale
#

Do you mind providing the account ID for that account?

dapper roost
#

although we are just testing, when we go live, our customers will be using connected accounts

#

sure

candid whale
#

Hmm I'm actually seeing the same thing you are when testing

#

Which is different than I recall

#

Give me a few minutes to look further. This might have been changed on Google's end

dapper roost
candid whale
#

That is a different Element

#

Payment Request Button is our legacy wallets Element

#

Express Checkout Element is our newer wallets Element

dapper roost
#

ah ok

candid whale
#

So if you are just building your integration right now I would definitely recommend using Express Checkout Element

#

But I'll still want to figure out why it is showing the website -- I don't think this was the past behavior for Payment Request Button, but I'm not 100% on that

dapper roost
#

ok thanks, it'd be great if you can find out

candid whale
#

Okay @dapper roost I actually confirmed it has always been like this.

#

It has to do with the fact that for Payment Request Button there is no backend API request to retrieve the business name, versus with Express Checkout Element there is a backend request (when you create your Elements Object to render ECE).

#

This difference means that PRB just relies on what is available to the frontend (origin URL)

#

So this was one of the minor improvements of us rolling out Express Checkout Element

#

And is another reason I recommend using that ๐Ÿ™‚

dapper roost
#

ok thanks, I'll check with the team if we can migrate to express checkout then

candid whale
#

๐Ÿ‘

dapper roost
#

thank you for your help!!