• Resolved peteypops

    (@peteypops)


    Hello am looking to add this missing parameter in the API request for payments processed from woo commerce to stripe

    Strip have informed need to add the following parameter to the API request:

    “save_payment_method”: “true”,

    Can anyone lend a hand as to how this can be achieved?

    Pete

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi there Pete, I am a bit unclear on what API request you are referring to.

    If you are trying to allow your customers to save cards for future payments, that can be enabled on WooCommerce Stripe settings:

    https://d.pr/i/2DLHLp/ov95iDZ4zo

    If you are trying to do something else, please share more about it. Screenshots would be great too!

    I recommend https://snipboard.io/ for easily sharing screenshots – please follow the instructions on the page, then paste the URL on this forums post. It works with Chrome, Firefox and Edge.

    Thread Starter peteypops

    (@peteypops)

    Hello,

    Stripe Support have informed us that

    After taking a deep look into your Stripe account, I could see that your customers' card details aren't being saved when the payment is processed in the third parties as the code used by these platforms has a missing parameter that allows your customer's card details to be saved.
    
    In this case, you need to reach out to the platforms in question for them to add this missing parameter in their API request for payments processed in their end.
    
    You just need to let them know that they need to add the following parameter to their API request:
    
    "save_payment_method": "true",

    Does that make sense?

    Pete

    Hi @peteypops – thanks for sending that over! Can you also send us a copy of your site’s system status report? You can find that at: WP Dashboard > WooCommerce > Status > ‘Get system report’

    Feel free to redact the URL, we just need to see the rest. ??

    Thread Starter peteypops

    (@peteypops)

    Sure please see below

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://thebizplan.co.uk
    Site address (URL): https://thebizplan.co.uk
    WC Version: 5.4.1
    REST API Version: ? 5.4.1
    WC Blocks Version: ? 5.1.0
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 2.3.1
    Log Directory Writable: ?
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.21
    PHP Post Max Size: 1 GB
    PHP Time Limit: 300
    PHP Max Input Vars: 6000
    cURL Version: 7.77.0
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.2.39-MariaDB
    Max Upload Size: 640 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.4.1
    WC Database Prefix: wpbn_
    Total Database Size: 60.75MB
    Database Data Size: 56.90MB
    Database Index Size: 3.85MB
    wpbn_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_order_items: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wpbn_woocommerce_order_itemmeta: Data: 0.40MB + Index: 0.08MB + Engine MyISAM
    wpbn_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_actionscheduler_actions: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    wpbn_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wpbn_bwf_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_bwf_action_claim: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_cartflows_ca_cart_abandonment: Data: 0.08MB + Index: 0.01MB + Engine MyISAM
    wpbn_cartflows_ca_email_history: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_cartflows_ca_email_templates: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpbn_cartflows_ca_email_templates_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_cartflows_visits: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wpbn_cartflows_visits_meta: Data: 0.19MB + Index: 0.04MB + Engine MyISAM
    wpbn_chaty_contact_form_leads: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_chaty_widget_analysis: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpbn_check_email_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_comments: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    wpbn_et_bloom_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_evf_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_evf_entrymeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_evf_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_fb3d_pages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_hurrytimer_evergreen: Data: 0.07MB + Index: 0.02MB + Engine MyISAM
    wpbn_ipages_flipbook: Data: 0.07MB + Index: 0.00MB + Engine MyISAM
    wpbn_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_mpg_projects: Data: 0.16MB + Index: 0.00MB + Engine MyISAM
    wpbn_mpg_spintax: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_mystickyelement_contact_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_field_meta: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    wpbn_nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_object_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_nf3_upgrades: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wpbn_options: Data: 3.99MB + Index: 0.76MB + Engine MyISAM
    wpbn_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_pmxi_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_pmxi_imports: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wpbn_pmxi_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_pmxi_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_postmeta: Data: 14.42MB + Index: 1.45MB + Engine MyISAM
    wpbn_posts: Data: 35.00MB + Index: 0.38MB + Engine MyISAM
    wpbn_pts_tables: Data: 0.20MB + Index: 0.00MB + Engine MyISAM
    wpbn_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_rank_math_404_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_rank_math_internal_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_rank_math_internal_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_rank_math_redirections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_rank_math_redirections_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_rank_math_sc_analytics: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_redirection_404: Data: 0.45MB + Index: 0.08MB + Engine MyISAM
    wpbn_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_redirection_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_redirection_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_sfba_subscribers_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_sfba_subscription_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_star_testimonial_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_strong_views: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_term_relationships: Data: 0.03MB + Index: 0.05MB + Engine MyISAM
    wpbn_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_usermeta: Data: 0.11MB + Index: 0.03MB + Engine MyISAM
    wpbn_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_wcct_evergreen: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wcct_evergreenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_customer_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpbn_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpbn_wc_order_stats: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpbn_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_product_meta_lookup: Data: 0.05MB + Index: 0.08MB + Engine MyISAM
    wpbn_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wdr_order_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wdr_order_item_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wdr_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wfacp_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_wpsp_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_yoast_indexable: Data: 0.75MB + Index: 0.22MB + Engine MyISAM
    wpbn_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine MyISAM
    wpbn_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpbn_yoast_primary_term: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpbn_yoast_seo_links: Data: 0.24MB + Index: 0.05MB + Engine MyISAM
    wpbn_yoast_seo_meta: Data: 0.25MB + Index: 0.25MB + Engine MyISAM
    wpbn_za_categories_to_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_za_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_za_headers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_za_products_to_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_za_types: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_za_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpbn_zmhub_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    3d-flip-book: 1
    acf-field-group: 1
    attachment: 1055
    br_minmax_limitation: 1
    cartflows_flow: 1
    cartflows_step: 2
    content_block: 1
    custom_css: 1
    dflip: 1
    divi_overlay: 1
    et_body_layout: 2
    et_footer_layout: 1
    et_header_layout: 2
    et_pb_layout: 77
    et_template: 3
    et_theme_builder: 1
    everest_form: 1
    global_product_addon: 1
    hurrytimer_countdown: 1
    jetpack_migration: 2
    jp_img_sitemap: 3
    jp_sitemap: 3
    jp_sitemap_master: 3
    jp_vid_sitemap: 3
    ktsprotype: 1
    nav_menu_item: 1
    oembed_cache: 23
    page: 43
    popup: 2
    popup_theme: 8
    post: 1
    postman_sent_mail: 235
    pricingtable: 1
    product: 345
    revision: 1579
    sfba_subscribe_form: 1
    shop_coupon: 6
    shop_order: 91
    shop_order_refund: 2
    simple-pay: 1
    stars_testimonial: 3
    wbcr-snippets: 13
    wcct_countdown: 4
    wcdp_payment: 148
    wcp_ruleset: 2
    wc_zapier_feed: 5
    wpforms: 1
    xlwcty_thankyou: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (46) ###
    
    ManageWP - Worker: by GoDaddy – 4.9.8
    JSON Basic Authentication: by WordPress API Team – 0.1
    Accelerated Mobile Pages: by Ahmed Kaludi
    Mohammed Kaludi – 1.0.77.9
    
    Advanced Custom Fields: by Delicious Brains – 5.9.7
    CartFlows: by CartFlows Inc – 1.6.15
    Content Blocks (Custom Post Widget): by Johan van der Wijk – 3.2.1
    Display URL Params: by Feel Creative – 1.1
    Divi Booster: by Dan Mossop – 3.5.2
    Download Plugin: by metagauss – 1.5.6
    Duplicate Page: by mndpsingh287 – 4.4
    Google Tag Manager for WordPress: by Thomas Geiger – 1.13.1
    Enable Media Replace: by ShortPixel – 3.5.0
    Finale Evergreen Campaigns: by XLPlugins – 1.3.0
    Finale WooCommerce Deal Pages: by XLPlugins – 1.4.1
    FlippingBook: by FlippingBook Team – 1.3.0
    Site Kit by Google: by Google – 1.36.0
    HandL UTM Grabber v3: by HandL Digital LLC – 3.0.29
    Woody code snippets (PHP snippets | Insert PHP): by Creative Motion
    Will Bontrager Software
    LLC  – 2.4.1
    
    Jetpack: by Automattic – 9.9
    Kadence WooCommerce Email Designer: by Kadence WP – 1.4.7
    Multiple Pages Generator by Porthas (Premium): by <a href='https://mpgwp.com/'>Porthas inc</a> – 2.8.6
    Poptin: by Poptin – 1.2.1
    Office 365 for Post SMTP Extension: by Yehuda Hassine – 1.2
    Post SMTP: by Yehuda Hassine – 2.0.23
    Really Simple SSL: by Really Simple Plugins – 5.0.2
    Redirection: by John Godley – 5.1.1
    REST API Custom Fields: by Integromat – 1.3
    Simple Custom CSS: by John Regan
    Danny Van Kooten – 4.0.4
    
    User Role Editor: by Vladimir Garagulya – 4.60
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.12
    Woocommerce Custom Product Addons: by Acowebs – 3.9.8
    Woo Discount Rules PRO 2.0: by Flycart – 2.3.7
    Woo Discount Rules: by Flycart – 2.3.7
    WooCommerce Admin: by WooCommerce – 2.3.1
    WooCommerce Deposits: by Webtomizer – 3.1.7
    WooCommerce Stripe Gateway: by WooCommerce – 5.2.3
    WooCommerce: by Automattic – 5.4.1
    Yoast SEO: by Team Yoast – 16.6.1
    WP Copy Protect: by Sazzad Areafin – 1.6
    WP File Manager: by mndpsingh287 – 7.1.1
    Smush: by WPMU DEV – 3.8.7
    WP Super Cache: by Automattic – 1.7.4
    Smart Coupons for WooCommerce: by WebToffee – 1.3.0
    Finale Email Countdown Timer: by XLPlugins – 1.2.0
    Zoho Marketing Automation: by Zoho Marketing Automation – 1.2.5
    Zendesk Chat Widget: by Zendesk – 1.4.18
    
    ### Inactive Plugins (1) ###
    
    WP Rollback: by Impress.org – 1.7.1
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (1) ###
    
    ManageWP - Worker Loader: by GoDaddy –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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: ?
    
    ### WC Pages ###
    
    Shop base: #26525 - /shop/
    Basket: ? Page not set
    Checkout: #33891 - /order-checkout/
    My account: ? Page not set
    Terms and conditions: #10119 - /terms/
    
    ### Theme ###
    
    Name: Divi
    Version: 4.9.7
    Author URL: https://www.elegantthemes.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 132
    Oldest: 2021-06-08 08:40:19 +0000
    Newest: 2021-07-08 18:07:12 +0000
    
    Failed: 3
    Oldest: 2021-06-28 16:35:15 +0000
    Newest: 2021-06-30 13:29:30 +0000
    
    Pending: 2
    Oldest: 2021-07-09 18:07:12 +0000
    Newest: 2021-07-13 10:59:27 +0000
    
    ### Status report information ###
    
    Generated at: 2021-07-09 08:30:54 +00:00
    
    Plugin Support stephjacq a11n

    (@stephjacq)

    Automattic Happiness Engineer

    Hi @peteypops,

    Thanks for the status report. To enable the use of saved cards in the plugin, go to WooCommerce > Settings > Payments > Stripe, and check the box to ‘Enable Payment via Saved Cards’

    Screenshot: https://d.pr/i/dkkAEv

    This will automatically include the information in the API request.

    If that’s not what you’re trying to do, please provide details of the underlying problem so we can troubleshoot further.

    Thread Starter peteypops

    (@peteypops)

    Hi,

    Ok I thought all that did was allow the customer to save their card details in an account or similar. We need the details of the card to be sent in full to Stripe so they can be stored and used for second payment at a later date,
    Does that still allow for that? Would also need this to act as default and not an opt in situation at checkout

    Can you confirm if that is the case

    Pete

    Hi!

    We need the details of the card to be sent in full to Stripe so they can be stored and used for second payment at a later date,
    Does that still allow for that?

    Yes, as long as the “Enable payments via Saved Cards” is enabled, the customers will be able to make payments in the manner you are asking about. I hope this helps! If you have any further questions please feel free to reply to this message and I or one of my colleagues will get back to you.

    Thread Starter peteypops

    (@peteypops)

    Hello,

    Based on the previous reply I went to go and adjust my Stripe settings this morning but the ‘Enable Payments via Saved Cards’ is already checked. Is the report i sent over not showing this as active?

    Im still not sure i am making myself 100% clear.

    We want to be able to see the customer’s card details in our Stripe backend after they have made a purchase so we as merchants can collect their second payment at a later date without the customer needing to input their details on checkout or similar again

    As previously mentioned Stripe support have said this is not currently working as those details are not being passed successfully through woo commeerce which is missing the “save_payment_method”: “true”, parameter in the API

    Thanks

    Plugin Support Abhi G. a11n

    (@theabhig)

    Hi @peteypops

    Let me take a moment to fully clarify so we can help get this answered for you.

    – You have enabled the Enable Payments via Saved Cards under WooCommerce > Settings > Payments > Stripe.

    – You would like to be able to see the customer’s payment method under their customer profile when you log in to Stripe

    – You would like to be able to use this to collect additional payments.

    If I have understood this correctly, then once a customer saves their payment method on their account on your WooCommerce site, the payment methods should appear in Stripe.

    This is working as expected on my test installation with my test Stripe account and when I attempt to charge an additional amount directly through Stripe, I am able to charge that and collect payment from my (test) customers:


    Link to image: https://d.pr/i/p9630o

    If I have misunderstood any of this or if you are not seeing the same behaviour, could you please confirm the exact steps you are following so we can attempt to replicate the issue on our end.

    We will be standing by for your response.

    Thanks!

    Thread Starter peteypops

    (@peteypops)

    Hi,

    Yes we have that setting enabled.

    Customers do not create an account but are checking out as a guest. Woo commerce is merely the checkout platform that we have but does seem as if the customer card details are being created in Stripe as per your screenshot.

    Need the saved card feature to be a default setting so we can collect this second payment at later date

    Plugin Support neilmccreadie a11n

    (@neilmccreadie)

    Hi @peteypops

    Thanks for clarifying.

    This feature is only available for customers that have an account as the saved payment method is managed under the customer’s account on the My Account page as per https://docs.woocommerce.com/document/stripe/#saved-payment-methods

    If they check out as guests there is nowhere for this to be managed, so you’ll need to disable the guest checkout option to be able to have them save a payment method.

    Thread Starter peteypops

    (@peteypops)

    yes this is my point
    The Stripe API is missing that parameter and so would like it added.

    This is the advice from Stripe Support

    Plugin Support melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    Hi there

    As mentioned, it’s only possible to save cards for people who check out on your site with an account. If you’d like to recommend adding that additional API parameter, you can add your suggestion to https://ideas.woocommerce.com/forums/133476-woocommerce?category_id=209980

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Parameter to Woocommerce API for Stripe’ is closed to new replies.