Skip to content

Conversation

@lissavxo
Copy link
Collaborator

@lissavxo lissavxo commented Nov 6, 2024

Related to #422

Description

Created a new prop to enable altpayment logic

Test plan

Create a widget or a paybutton and test prop enable-altpayment="true" and enable-altpayment="false", this prop should control the sideshift logic, it should work on paybutton and widget

@Klakurka Klakurka requested review from Klakurka and chedieck November 6, 2024 21:29
Copy link
Member

@Klakurka Klakurka left a comment

Choose a reason for hiding this comment

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

Doesn't build for me:

image

@lissavxo lissavxo requested a review from Klakurka November 7, 2024 19:25
Copy link
Member

@Klakurka Klakurka left a comment

Choose a reason for hiding this comment

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

Can you add an entry into the docs? All 3 langs.

Copy link
Member

@Klakurka Klakurka left a comment

Choose a reason for hiding this comment

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

On the Chinese docs, the desc format is different from what we have on the other properties:

image
image

Can you use the same tags & quotes as we're using on the other ones to keep them consistent?

@lissavxo lissavxo requested a review from Klakurka November 8, 2024 12:43
Copy link
Member

@Klakurka Klakurka left a comment

Choose a reason for hiding this comment

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

Actually can you add this into paybutton-generator.html ?

Copy link
Collaborator

@chedieck chedieck left a comment

Choose a reason for hiding this comment

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

Adding enable-altpayment="false" doesn't seem to work at the buttons / widgets of paybutton/dev/demo/index.html

Copy link
Collaborator

@chedieck chedieck left a comment

Choose a reason for hiding this comment

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

After running yarn clean:build, it worked out well

@Klakurka Klakurka merged commit 23113a7 into master Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants