Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honey ba #1758

Merged
merged 5 commits into from Oct 13, 2021
Merged

Honey ba #1758

merged 5 commits into from Oct 13, 2021

Conversation

alan-bendjuya
Copy link
Contributor

@alan-bendjuya alan-bendjuya commented Oct 5, 2021

Description

Added new prop to the sdk used for one-click with Honey to avoid using BA for the payment

Why are we making these changes? Include references to any related Jira tasks or GitHub Issues

https://engineering.paypalcorp.com/jira/browse/DTCHKINT-746

Reproduction Steps (if applicable)

Screenshots (if applicable)

Dependent Changes (if applicable)

Xobuyer: https://github.paypal.com/Checkout-R/xobuyernodeserv/pull/2340
Paypal-smart-payment-buttons:https://github.com/paypal/paypal-smart-payment-buttons/pull/268

❤️ Thank you!

@alan-bendjuya alan-bendjuya requested a review from a team as a code owner October 5, 2021 16:03
Copy link

@sioked sioked left a comment

Choose a reason for hiding this comment

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

Looks good to me!

type: 'boolean',
queryParam: true,
required: false,
default: () => true
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this allowBillingPayments prop in checkout-components? It seems like it could just live in SPB.

Copy link
Contributor

Choose a reason for hiding this comment

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

@sioked and I syned on this. I learned that this new prop is for Honey and is needed server-side for SPB.

Copy link

Choose a reason for hiding this comment

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

I added a quick comment on this prop as well to help clarify for the future, Thanks for the suggestion @gregjopa!

Copy link
Contributor

@gregjopa gregjopa Oct 13, 2021

Choose a reason for hiding this comment

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

Comment looks good! Could we copy it to wallet/component.jsx as well?

Copy link
Contributor

@gregjopa gregjopa left a comment

Choose a reason for hiding this comment

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

Changes look good to me! @sioked and I discussed adding code comments to describe that these need props are specific to Honey.

@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #1758 (8b94ed6) into master (a58ca8e) will increase coverage by 1.51%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1758      +/-   ##
==========================================
+ Coverage   55.43%   56.95%   +1.51%     
==========================================
  Files          92       93       +1     
  Lines        1418     1482      +64     
  Branches      333      342       +9     
==========================================
+ Hits          786      844      +58     
- Misses        598      603       +5     
- Partials       34       35       +1     
Flag Coverage Δ
jest 39.20% <ø> (-0.57%) ⬇️
karma 52.61% <100.00%> (+2.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/zoid/buttons/component.jsx 78.48% <ø> (+3.48%) ⬆️
src/zoid/wallet/component.jsx 92.30% <100.00%> (+0.64%) ⬆️
src/funding/venmo/config.jsx 84.61% <0.00%> (-15.39%) ⬇️
src/funding/paylater/config.jsx 80.00% <0.00%> (-12.31%) ⬇️
src/zoid/buttons/prerender.jsx 66.66% <0.00%> (-4.77%) ⬇️
src/marks/component.jsx 85.18% <0.00%> (-0.53%) ⬇️
src/funding/content.jsx 0.42% <0.00%> (-0.02%) ⬇️
src/funding/common.jsx 54.54% <0.00%> (ø)
src/interface/fields.js 100.00% <0.00%> (ø)
src/funding/trustly/config.jsx 100.00% <0.00%> (ø)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a58ca8e...8b94ed6. Read the comment docs.

@gregjopa gregjopa merged commit 12b6d04 into paypal:master Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants