Skip to content

Conversation

@andrezimmermann
Copy link
Collaborator

Added the AlipayPlusOnlineIT tests

Currently it contains just the sdk usage for dynamic brands

Notable change is the change at OnlinePayment model

Had to refactor the brand from OnlineBrand to a String and add a method

  public boolean couldBeDynamicBrand() {
    return brand != null && !brand.isEmpty() && onlineBrand == null;
  }

Copy link

@spavikevik spavikevik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a brief look and commented on some things that caught my eye. It mostly looks good, but I'll have to take a look again tomorrow/after we decide how to deal with the problematic places on the api side.

"data": {
"brand": "KAKAOPAY",
"call_method": "app",
"os_type": "i_os"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"os_type": "i_os"
"os_type": "ios"

@@ -0,0 +1,4 @@
{
"issuer_token" : "alipayconnect://schemeUrl",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ok for this to be alipayconnect?

"data": {
"brand": "KAKAOPAY",
"call_site" : "sdk",
"os_type" : "i_os"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls change to ios

Suggested change
"os_type" : "i_os"
"os_type" : "ios"

@andrezimmermann
Copy link
Collaborator Author

Still need some work, do not merge 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants