ISSUE: Split payments not processing via PayFast plugin
-
Question 1 (From us to PayFast): Can you please confirm the following: "can you ask plugin dev or payfast should ['setup']['split_payment'] be excluded from signature string ?" Can you please answer this question? Its from our developer. Answer 1: The split payment parameters needs to be sent in the setup and it is not calculated in the signature Should you have any further questions, please do not hesitate to reach out. Have a wonderful day. Question 2 (From us to PayFast):? If ['setup']['split_payment'] must be excluded, why it is not so in your plugin? https://prnt.sc/9n_1ujzUxR7a Answer 2: Our plugin developers came back and mentioned that the source is added by WooCommerce and setup is a Payfast field, but neither should be calculated in signature (see?https://developers.payfast.co.za/docs#splitpayments) Final Conclusion: ['setup']['split_payment'] is to be removed by Woocommerce from payment signature within PayFast plugin to resolve split payment signature mismatch.
-
Hey there, @helpguys01! Thanks for contacting us. I’m happy to help you.
As I understand you are facing issues with split payments, correct?
Is every order with split payments having the issue or does some of them work?
Are you having issues with other payment methods too?
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
Hi. Normal Payments work perfect (When splits payments are not used.)
But unfortunately split payments do not work. If you follow the payment checkout process and a split payment is setup then when you get to the PayFast payment page it displays an error message “Signature Mismatch”.
Only if [‘setup’][‘split_payment’] is removed from payment signature within PayFast plugin does it resolve split payment signature mismatch. Please read the response we got from PayFasts developers, the split payment is not to be included in the payment signature. Meaning it should be removed from the PayFast plugin.
- This reply was modified 6 months, 1 week ago by helpguys01.
Hey, @helpguys01!
Thank you for the clarification.
Is the Payfast plugin updated to the current version?
Can you please share the information we requested so we can take a better look on the website?
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
How do I post a private message?
Hi @helpguys01,
You can use or service https://quickforget.com/, this tool is designed to share information securely. You can set this one to expire after a certain amount of views or hours.
Please, also feel free to remove the URL from your System Status Report if you’re worried about privacy in that sense!
Thanks!
-OP### WordPress Environment ### WC Version: 8.8.3 REST API Version: ? 8.8.3 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.3 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_ZA External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 8.2.1 OpenSSL/3.1.1 SUHOSIN Installed: – MySQL Version: 5.7.44-48-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.8.3 WC Database Prefix: jcx_ Total Database Size: 2644.78MB Database Data Size: 2395.16MB Database Index Size: 249.62MB jcx_woocommerce_sessions: Data: 2.02MB + Index: 0.02MB + Engine InnoDB jcx_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jcx_woocommerce_order_items: Data: 2.52MB + Index: 1.52MB + Engine InnoDB jcx_woocommerce_order_itemmeta: Data: 13.52MB + Index: 15.03MB + Engine InnoDB jcx_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jcx_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jcx_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_actionscheduler_actions: Data: 4.52MB + Index: 5.23MB + Engine InnoDB jcx_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_actionscheduler_logs: Data: 3.52MB + Index: 3.48MB + Engine InnoDB jcx_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_comments: Data: 29.56MB + Index: 20.09MB + Engine InnoDB jcx_cs_proof_consent: Data: 8.52MB + Index: 0.00MB + Engine InnoDB jcx_cs_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_cs_scan_cookies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_cs_scan_scripts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_cs_stats_consent: Data: 1.52MB + Index: 0.00MB + Engine InnoDB jcx_cs_unblock_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_dwul_disable_user_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB jcx_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jcx_e_submissions: Data: 1.52MB + Index: 2.41MB + Engine InnoDB jcx_e_submissions_actions_log: Data: 0.33MB + Index: 0.72MB + Engine InnoDB jcx_e_submissions_values: Data: 2.52MB + Index: 1.97MB + Engine InnoDB jcx_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_followup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jcx_followup_customers: Data: 0.42MB + Index: 0.70MB + Engine InnoDB jcx_followup_customer_carts: Data: 11.52MB + Index: 0.80MB + Engine InnoDB jcx_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_followup_customer_orders: Data: 1.52MB + Index: 0.47MB + Engine InnoDB jcx_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jcx_followup_email_logs: Data: 2.52MB + Index: 1.95MB + Engine InnoDB jcx_followup_email_orders: Data: 6.52MB + Index: 1.50MB + Engine InnoDB jcx_followup_email_tracking: Data: 1.52MB + Index: 1.00MB + Engine InnoDB jcx_followup_followup_history: Data: 23.52MB + Index: 0.64MB + Engine InnoDB jcx_followup_order_categories: Data: 0.23MB + Index: 0.30MB + Engine InnoDB jcx_followup_order_items: Data: 0.28MB + Index: 0.39MB + Engine InnoDB jcx_followup_subscribers: Data: 0.06MB + Index: 0.06MB + Engine InnoDB jcx_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_followup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_forms_to_zapier: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_getpaid_invoices: Data: 1.52MB + Index: 0.45MB + Engine InnoDB jcx_getpaid_invoice_items: Data: 1.52MB + Index: 0.84MB + Engine InnoDB jcx_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_options: Data: 6.44MB + Index: 0.33MB + Engine InnoDB jcx_postmeta: Data: 1550.69MB + Index: 111.25MB + Engine InnoDB jcx_posts: Data: 640.52MB + Index: 16.00MB + Engine InnoDB jcx_post_smtp_logmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_post_smtp_logs: Data: 7.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_agents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_attachments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_customers: Data: 0.45MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_custom_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_email_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_email_otp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_holidays: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_priorities: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_scheduled_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_statuses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_threads: Data: 0.05MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_tickets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_ticket_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_wh_exceptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_psmsc_working_hrs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_landing: Data: 0.06MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_order: Data: 1.52MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_product_order: Data: 1.52MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_traffic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_utm_campaing: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_utm_content: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_utm_medium: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_utm_source: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_pys_stat_utm_term: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_remove_menu_admin_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_snippets: Data: 0.05MB + Index: 0.03MB + Engine InnoDB jcx_termmeta: Data: 0.14MB + Index: 0.03MB + Engine InnoDB jcx_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_term_relationships: Data: 0.20MB + Index: 0.14MB + Engine InnoDB jcx_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_usermeta: Data: 28.56MB + Index: 27.75MB + Engine InnoDB jcx_users: Data: 2.52MB + Index: 1.30MB + Engine InnoDB jcx_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB jcx_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB jcx_wc_appointments_availability: Data: 0.11MB + Index: 0.02MB + Engine InnoDB jcx_wc_appointment_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_wc_customer_lookup: Data: 1.52MB + Index: 1.86MB + Engine InnoDB jcx_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB jcx_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jcx_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wc_order_product_lookup: Data: 1.52MB + Index: 0.81MB + Engine InnoDB jcx_wc_order_stats: Data: 1.52MB + Index: 0.70MB + Engine InnoDB jcx_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wc_product_meta_lookup: Data: 0.28MB + Index: 0.66MB + Engine InnoDB jcx_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wpfront_ure_login_redirect: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wpfront_ure_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wpfront_ure_post_type: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wpfront_ure_taxonomy: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_wpinv_subscriptions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jcx_wpml_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_wsal_metadata: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wsal_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jcx_yoast_indexable: Data: 8.52MB + Index: 9.05MB + Engine InnoDB jcx_yoast_indexable_hierarchy: Data: 1.52MB + Index: 0.84MB + Engine InnoDB jcx_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jcx_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jcx_yoast_seo_links: Data: 15.55MB + Index: 17.06MB + Engine InnoDB ### Post Type Counts ### acf-field: 76 acf-field-group: 7 aoc_popup: 2 attachment: 4700 awcdp_payment: 13219 cartflows_flow: 2 cartflows_step: 5 cs-template: 3 custom_css: 2 elementor_library: 19 ex_shop_order: 3 ex_wc_appointment: 6 follow_up_email: 7 global_product_addon: 1 nav_menu_item: 17 oembed_cache: 11 page: 1030 post: 4 product: 25 pys_event: 19 revision: 12123 shop_coupon: 10 shop_order: 6630 shop_order_refund: 28 shop_subscription: 10 wc_appointment: 5588 wp_font_family: 12 wp_global_styles: 1 wp_navigation: 1 wpcode: 2 wpi_discount: 7 wpi_invoice: 1125 wpi_item: 60 wpi_payment_form: 4 wpi_quote: 2454 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (42) ### Advanced Custom Fields PRO: by WP Engine – 6.2.9 Child Theme Configurator: by Lilaea Media – 2.6.6 Classic Editor: by WordPress Contributors – 1.6.3 Code Snippets: by Code Snippets Pro – 3.6.4 Custom Post Type UI: by WebDevStudios – 1.16.0 Deposits & Partial Payments for WooCommerce - Pro: by Acowebs – 3.1.8 Disable cart page for WooCommerce: by Code4Life – 1.2.7 Elementor Pro: by Elementor.com – 3.21.2 Elementor: by Elementor.com – 3.21.5 Events Tracker for Elementor: by WPlovers – 1.3.2 Health Check & Troubleshooting: by The www.ads-software.com community – 1.7.0 Lock User Account: by teknigar – 1.0.5 Members: by MemberPress – 3.2.9 Office 365 for Post SMTP Extension: by Post SMTP – 1.3.2 Post SMTP: by Post SMTP – 2.9.2 Remove admin menus by roles: by InfoD74 – 1.36 User Switching: by John Blackbourn & contributors – 1.7.3 WooCommerce Appointments: by BookingWP – 4.19.0 WooCommerce Payfast Gateway: by WooCommerce – 1.6.4 (update to version 1.6.5 is available) WooCommerce Subscriptions: by WooCommerce – 5.2.0 (update to version 6.3.1 is available) WooCommerce: by Automattic – 8.8.3 (update to version 8.9.0 is available) Yoast SEO: by Team Yoast – 22.6 WP Rollback: by WP Rollback – 2.0.7 Smush: by WPMU DEV – 3.16.2 WP Sort Order: by Fahad Mahmood – 1.3.2 SupportCandy - Assign Agent Rules: by SupportCandy – 3.0.6 SupportCandy - WooCommerce: by SupportCandy – 3.1.5 ### Dropin Plugins () ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (2) ### Health Check Troubleshooting Mode: by? – 1.9.0 ### Settings ### API Enabled: – Force SSL: – Currency: ZAR (R) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: appointment (appointment) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### Logging ### Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 7 MB ### WC Pages ### Shop base: #13923 - /shop/ Basket: #13924 - /basket/ Checkout: #13925 - /checkout/ My account: #13926 - /my-account/ ### Theme ### Name: Hello Elementor Child Version: 2.4.1.1630493941 Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash Child Theme: ? Parent Theme Name: Hello Elementor Parent Theme Version: 3.0.1 Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash WooCommerce Support: ? ### Templates ### Overrides: – ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Live Subscriptions Live URL Subscriptions-core Library Version: 5.8.0 Subscription Statuses: wc-active: 7 wc-expired: 1 wc-cancelled: 2 WooCommerce Account Connected: ? Yes Active Product Key: ? Yes Report Cache Enabled: ? Yes Cache Update Failures: ? 0 failure ### Store Setup ### Country / State: South Africa — Gauteng ### Subscriptions by Payment Gateway ### Payfast: wc-active: 7 wc-cancelled: 2 ### Payment Gateway Support ### Payfast: products subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-custom-fields settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-05-15 18:49:31 +02:00 Options: ? Notes: 171 Onboarding: completed ### Action Scheduler ### Canceled: 10 Oldest: 2024-04-14 11:40:02 +0200 Newest: 2024-05-04 17:52:44 +0200 Complete: 7,933 Oldest: 2024-04-29 11:31:47 +0200 Newest: 2024-05-14 20:54:51 +0200 Failed: 3,006 Oldest: 2023-03-29 19:02:08 +0200 Newest: 2024-05-14 15:30:05 +0200 Pending: 333 Oldest: 2024-05-14 21:09:17 +0200 Newest: 2025-04-25 11:15:00 +0200 ### Status report information ### Generated at: 2024-05-14 21:05:23 +02:00
?? hey @helpguys01
Thank you for reaching back, with further details on this.
Final Conclusion: ['setup']['split_payment'] is to be removed by Woocommerce from payment signature within PayFast plugin to resolve split payment signature mismatch.
From what I understand, there’s no split payment functionality with the WooCommerce Payfast Gateway plugin. For reference, the extension’s documentation.
Moreover, from the excerpt quoted above, I gather the intention is to add that functionality via custom coding. Am I getting this?
To that end, kindly note it falls outside our scope of support, I’m afraid. For reference, our support policy can be found linked here.
I hope this is helpful! Please let us know if you have any further questions about this matter, or if we misinterpret your concern in any way. We will be happy to help you further.
Hi, can you please advise what is this piece of code in the PayFast Gateway Plugin as per screenshot below? What is the purpose?
https://prnt.sc/9n_1ujzUxR7aHi @helpguys01
The code you’re referring to is a conditional statement. It checks if the
$key
variable is not in an array that includes'source'
and'setup'
. If the$key
is not in this array, the code inside the curly braces{}
will execute. Such a condition typically excludes specific elements (in this case'source'
and'setup'
) from further processing in the plugin.For reference, this particular forum is meant for general support with the core functionality of WooCommerce Payfast Gateway itself. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:
- A local web developer
- Codeable.io
- WooExperts
I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.
According to PayFast [‘setup’][‘split_payment’] should be excluded from the signature but then why is that code there?
As a result if we try to run split payments alongside the PayFast Plugin is prevents the split payment from processing successfully unless this unnecessary code is removed.
?? hey @helpguys01
Kindly note that, while payfast, the payment processor, might support split payments, the Payfast Payment Gateway currently doesn’t, I’m afraid.
Best to reach out to the resources shared earlier in this thread, on how to proceed with implementing the bespoke solution needed at your site.
Hope it helps!
Hi there ?? ,
We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.
All the best,
Omar
- The topic ‘ISSUE: Split payments not processing via PayFast plugin’ is closed to new replies.