Viewing 2 replies - 1 through 2 (of 2 total)
  • @sumup, any update on this one? I assume this was introduced with 2.5.8. Much appreciated if this bad practice would be revised.

    /*
    * Use the SumUp's SDK for accepting card payments.
    * Documentation can be found at https://developer.sumup.com/docs/widgets-card
    */
    wp_enqueue_script( 'sumup_gateway_card_sdk', 'https://gateway.sumup.com/gateway/ecom/card/v2/sdk.js', array(), WC_SUMUP_VERSION, false );
    wp_register_script(
    'wc-sumup-blocks-integration',
    plugin_dir_url(__DIR__) . 'build/index.js',
    array(
    'wc-blocks-registry',
    'wc-settings',
    'wp-element',
    'wp-html-entities',
    'sumup_gateway_card_sdk'
    ),
    null, // or time() or filemtime( ... ) to skip caching
    true
    );
    Plugin Author sumup

    (@sumup)

    Dear merchant,

    Thank you for reaching out.

    We have received your feedback, and we thank you for taking the time to bring this to our attention.

    We are currently reviewing the latter, and we will make sure to include those changes in our next release update.

    Please feel free to get in touch with our dedicated support team through [email protected] or via our contact form if you need further assistance or have any other questions.

    Best Regards,

    SumUp Support

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.