Closed danzhaaspaypal closed 3 weeks ago
Latest commit: 5e41f0a993e8b7b6a5bb4004c38fd22eff5cebd3
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Do not merge until this XO PR has been released: https://github.com/paypal/paypal-checkout-components/pull/2421
The above PR has been merged and released as of 8/29/24
@paypal/checkout-sdk Can we have a review please?
@wsbrunson can we have a review please?
Allows button message amount type to be string so that button message integration is more consistent with message integration's accepted types.
Testing instructions:
Setup
const initialOptions = { clientId: "B_Aksh3K8UpGwAs_Ngi0ahNHJja2bsxqtuqmhRAm944xzM-p6Qkq9JbqFc2yTz2Fg5WYtcW1QEu_tHDVuI", currency: "USD", intent: "capture", sdkBaseUrl: "https://te-msg-amt-str.qa.paypal.com/sdk/js", components: 'messages,buttons,marks' };
packages/react-paypal-js/dist
and copy thecjs
andesm
directories, then paste in the corresponding Palmart node_modules directorypackages/paypal-js/
and copy thetypes
directory, then paste in the corresponding Palmart node_modules directory (will be at same level as dist)packages/paypal-js/dist
and copy thecjs
andesm
directories, then paste in the corresponding Palmart node_modules directoryValidation
"200"
. The message should still render as it did when the amount was a number.