Good-Bids / goodbids

0 stars 0 forks source link

[#931] Use JS to insert Express Checkout Disclaimer. #933

Closed bd-viget closed 5 months ago

bd-viget commented 5 months ago

Summary

This PR uses JS to insert the Express Checkout Disclaimer into the Express Checkout Block if/when it becomes available.

The reason the code before didn't work is because the Express Checkout block is built dynamically after the page has loaded, so we need to inject the disclaimer once the element becomes available.

Issues

Testing Instructions

  1. Visit the checkout page by placing a bid.
  2. Note the presence of the Checkout Disclaimer just below the Express Checkout block, but above the "Or continue below" message.

Screenshots

Screenshot 2024-04-29 at 10 21 42 AM
clatwell commented 5 months ago

@jaspercroome - Do you wanna take a quick look at this one before we merge it in and test?