• Resolved acalles

    (@acalles)


    I want that when I press the “Place order” button, I am redirected directly to the external payment platform Redsys. Currently, the button redirects to a page where you can click the “Pay with card” or “Cancel order” button. I’ve tried going into wc-redsys.php but there I don’t know if I can change this.

            return '<form action="'.$action.'" method="post" id="redsys_payment_form">'. 
                        implode('', $resys_args_array) . 
                        '<input type="submit" class="button-alt" id="submit_redsys_payment_form" value="'.__('Pagar con Tarjeta', 'redsys').'" />'.
                        '<a class="button cancel" href="'.$order->get_cancel_order_url().'">'.__('Cancelar Pedido', 'redsys').'</a>
                    </form>';

    Can anybody help me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    I understand you are using RedSys Gateway on the site and would like to change the destination page when you click on the place order button?

    I need to learn more about your website. It would be great if you could share your current System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Best,

    Thread Starter acalles

    (@acalles)

    Here you have it, thanks for your attention. I remove the URL due to my company’s data protection.

    
    ### WordPress Environment ###
    
    WordPress address (URL): 
    Site address (URL): 
    WC Version: 6.7.0
    REST API Version: ✔ 6.7.0
    WC Blocks Version: ✔ 7.8.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: es_ES
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.25
    PHP Post Max Size: 130 MB
    PHP Time Limit: 165
    PHP Max Input Vars: 16000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.51-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.7.0
    WC Database Prefix: wor999_
    Tamaño total de la base de datos: 46.90MB
    Tamaño de los datos de la base de datos: 35.55MB
    Tamaño del índice de la base de datos: 11.35MB
    wor999_woocommerce_sessions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wor999_woocommerce_order_items: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_woocommerce_order_itemmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wor999_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_woocommerce_log: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    mod776_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    mod776_comments: Datos: 0.02MB + Índice: 0.08MB + Motor InnoDB
    mod776_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    mod776_options: Datos: 0.11MB + Índice: 0.03MB + Motor InnoDB
    mod776_postmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    mod776_posts: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    mod776_termmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    mod776_terms: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    mod776_term_relationships: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    mod776_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    mod776_usermeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    mod776_users: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wor999_actionscheduler_actions: Datos: 0.17MB + Índice: 0.17MB + Motor InnoDB
    wor999_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_actionscheduler_logs: Datos: 0.14MB + Índice: 0.13MB + Motor InnoDB
    wor999_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_comments: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
    wor999_icl_content_status: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_core_status: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_flags: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_languages: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_icl_languages_translations: Datos: 0.20MB + Índice: 0.17MB + Motor InnoDB
    wor999_icl_locale_map: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_message_status: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_icl_mo_files_domains: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_node: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_reminders: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_strings: Datos: 3.52MB + Índice: 6.63MB + Motor InnoDB
    wor999_icl_string_batches: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_string_packages: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_string_positions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_string_status: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_string_translations: Datos: 2.52MB + Índice: 0.69MB + Motor InnoDB
    wor999_icl_translate: Datos: 0.38MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_translate_job: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_icl_translations: Datos: 0.06MB + Índice: 0.13MB + Motor InnoDB
    wor999_icl_translation_batches: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_translation_downloads: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_icl_translation_status: Datos: 0.30MB + Índice: 0.02MB + Motor InnoDB
    wor999_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_options: Datos: 6.03MB + Índice: 0.09MB + Motor InnoDB
    wor999_postmeta: Datos: 2.52MB + Índice: 0.39MB + Motor InnoDB
    wor999_posts: Datos: 1.48MB + Índice: 0.13MB + Motor InnoDB
    wor999_rank_math_404_logs: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_rank_math_analytics_gsc: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wor999_rank_math_analytics_inspections: Datos: 0.02MB + Índice: 0.11MB + Motor InnoDB
    wor999_rank_math_analytics_objects: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_rank_math_internal_links: Datos: 0.05MB + Índice: 0.02MB + Motor InnoDB
    wor999_rank_math_internal_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_rank_math_redirections: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_rank_math_redirections_cache: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_css: Datos: 0.13MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_css_bkp: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_layer_animations: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_revslider_layer_animations_bkp: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_revslider_navigations: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_revslider_navigations_bkp: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_revslider_sliders: Datos: 0.03MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_sliders_bkp: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_slides: Datos: 0.17MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_slides_bkp: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_static_slides: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_revslider_static_slides_bkp: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_soo_wishlists: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_soo_wishlists_items: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_termmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_terms: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_term_relationships: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_usermeta: Datos: 0.05MB + Índice: 0.03MB + Motor InnoDB
    wor999_users: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wor999_wc_admin_notes: Datos: 0.05MB + Índice: 0.00MB + Motor InnoDB
    wor999_wc_admin_note_actions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wc_category_lookup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wc_customer_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_wc_download_log: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_wc_order_product_lookup: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wor999_wc_order_stats: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wor999_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_wc_product_attributes_lookup: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wc_product_download_directories: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wc_product_meta_lookup: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
    wor999_wc_rate_limits: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wc_tax_rate_classes: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wc_webhooks: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wfblockediplog: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wfblocks7: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wor999_wfconfig: Datos: 0.45MB + Índice: 0.00MB + Motor InnoDB
    wor999_wfcrawlers: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wffilechanges: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wffilemods: Datos: 10.52MB + Índice: 0.00MB + Motor InnoDB
    wor999_wfhits: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wor999_wfhoover: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wfissues: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wor999_wfknownfilelist: Datos: 4.52MB + Índice: 0.00MB + Motor InnoDB
    wor999_wflivetraffichuman: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wflocs: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wflogins: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wor999_wfls_2fa_secrets: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wor999_wfls_settings: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wfnotifications: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wfpendingissues: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wor999_wfreversecache: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wor999_wfsnipcache: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wor999_wfstatus: Datos: 0.13MB + Índice: 0.11MB + Motor InnoDB
    wor999_wftrafficrates: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    
    ### Post Type Counts ###
    
    attachment: 244
    custom_css: 1
    customize_changeset: 84
    mc4wp-form: 1
    nav_menu_item: 41
    page: 60
    post: 24
    product: 32
    product_variation: 21
    revision: 87
    shop_coupon: 1
    shop_order: 18
    wp_global_styles: 1
    wpcf7_contact_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (20) ###
    
    Multiple Domain: por goINPUT IT Solutions – 1.0.7
    WPML Multilingual CMS: por OnTheGoSystems – 4.5.8
    Contact Form 7: por Takayuki Miyoshi – 5.6.1
    WPBakery Page Builder: por Michael M - WPBakery.com – 6.9.0
    Kirki Customizer Framework: por David Vongries – 4.0.24
    MC4WP: Mailchimp for WordPress: por ibericode – 4.8.7
    Meta Box: por MetaBox.io – 5.6.5
    Redsys WooCommerce: por Redsys – 3.3.0
    Slider Revolution: por ThemePunch – 6.5.25
    Rank Math SEO: por Rank Math – 1.0.93.1
    Sober Addons: por UIX Themes – 1.6.5
    Soo Demo Importer: por UIX Themes – 1.2.1
    Soo Wishlist: por UIX Themes – 1.2.6
    WCBoost - Variation Swatches: por WCBoost – 1.0.12
    WOOCS - WooCommerce Currency Switcher: por realmag777 – 1.3.8
    WooCommerce Multilingual & Multicurrency: por OnTheGoSystems – 5.0.2
    WooCommerce Payments: por Automattic – 4.4.0
    WooCommerce: por Automattic – 6.7.0
    Wordfence Security: por Wordfence – 7.5.11
    WPML String Translation: por OnTheGoSystems – 3.2.1
    
    ### Inactive Plugins (3) ###
    
    Akismet Anti-Spam: por Automattic – 4.2.5
    Hello Dolly: por Matt Mullenweg – 1.7.2
    OTGS Installer: por OnTheGoSystems – 3.0.3
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ✔
    
    ### WC Pages ###
    
    Base de la tienda: #9 - /shop/
    Carrito: #10 - /cart/
    Finalizar compra: #11 - /checkout/
    Mi cuenta: #12 - /my-account/
    Términos y condiciones: ❌ Página sin definir
    
    ### Theme ###
    
    Name: Sober Child Theme
    Version: 1.0.0
    Author URL: http://uix.store
    Child Theme: ✔
    Parent Theme Name: Sober
    Parent Theme Version: 3.3.1
    Parent Theme Author URL: https://uix.store
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: sober/woocommerce/cart/cart-shipping.php
    sober/woocommerce/cart/cart.php
    sober/woocommerce/cart/mini-cart.php
    sober/woocommerce/checkout/form-checkout.php
    sober/woocommerce/checkout/form-coupon.php
    sober/woocommerce/checkout/form-login.php
    sober/woocommerce/checkout/review-order.php
    sober/woocommerce/global/form-login.php
    sober/woocommerce/global/quantity-input.php
    sober/woocommerce/global/wrapper-end.php
    sober/woocommerce/global/wrapper-start.php
    sober/woocommerce/loop/price.php
    sober/woocommerce/loop/result-count.php
    sober/woocommerce/myaccount/dashboard.php
    sober/woocommerce/myaccount/form-edit-account.php
    sober/woocommerce/myaccount/form-login.php
    sober/woocommerce/myaccount/my-address.php
    sober/woocommerce/notices/error.php
    sober/woocommerce/notices/success.php
    sober/woocommerce/order/form-tracking.php
    sober/woocommerce/single-product/add-to-cart/external.php
    sober/woocommerce/single-product/add-to-cart/grouped.php
    sober/woocommerce/single-product/add-to-cart/simple.php
    sober/woocommerce/single-product/add-to-cart/variable.php
    sober/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    sober/woocommerce/single-product/product-image.php
    sober/woocommerce/single-product/product-thumbnails.php
    sober/woocommerce/single-product/related.php
    sober/woocommerce/single-product/review-meta.php
    sober/woocommerce/single-product/tabs/additional-information.php
    sober/woocommerce/single-product/tabs/tabs.php
    sober/woocommerce/single-product/up-sells.php
    sober/woocommerce/single-product-reviews.php
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-07-26 12:32:52 +00:00
    Options: ✔
    Notes: 49
    Onboarding: completed
    
    ### WooCommerce Payments ###
    
    Version: 4.4.0
    Connected to WPCOM: No
    Blog ID: -
    Account ID: -
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2022-07-20 09:09:12 +0000
    Newest: 2022-07-20 09:09:12 +0000
    
    Complete: 494
    Oldest: 2022-07-14 12:37:44 +0000
    Newest: 2022-07-26 07:01:03 +0000
    
    Pending: 3
    Oldest: 2022-07-26 08:09:22 +0000
    Newest: 2022-07-30 16:52:38 +0000
    
    ### Status report information ###
    
    Generated at: 2022-07-26 08:09:29 +00:00
    
    Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for getting back to us.

    I can see you are using Redsys WooCommerce by Redsys plugin. It looks like this plugin is coming from Redsys directly.

    You can reach out to Redsys support for that and see if they have any solution for this. Alternatively, you can get in touch with our customization expert here:

    https://woocommerce.com/customizations/

    Best,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How can I change destination page when I press Place Order button?’ is closed to new replies.