mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Merge pull request #2464 from woocommerce/PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
Fix the Google Pay button in the block Checkout in the editor (3374)
This commit is contained in:
commit
8592213b9a
5 changed files with 100 additions and 10 deletions
|
@ -17,7 +17,7 @@ class ApplePayManagerBlockEditor {
|
|||
|
||||
async config() {
|
||||
try {
|
||||
this.applePayConfig = await paypal.Applepay().config();
|
||||
this.applePayConfig = await ppcpBlocksEditorPaypalApplepay.Applepay().config();
|
||||
|
||||
const button = new ApplePayButton(
|
||||
this.ppcpConfig.context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue