Stripe Syncing Issue
-
In the past 24 hours I’ve had two similar issues with Stripe and PMP.
#1. New customer attempts to subscribe to my site. Gets charged twice by Stripe, but his user account is not created by PMP/Wordpress.
#2. Existing user attempts to subscribe to a premium account. He gets charged multiple times, but the upgrade is not synced to his user account.
User #2 provided a screenshot that presented an error message “Error creating subscription for customer. Cannot get price. Class “Stripe\Price” not found.”
I have not made any changes to the PMP configuration or on Stripe. Where would I troubleshoot this issue and would I be able to use the Stripe backend to manually connect their completed payment to their user accounts.
-
Hi there, thank you for reaching out to the Paid Memberships Pro team.
I’m going to need to get a better understanding of your site to work through this – Please can you provide us with your Site Health information for your WordPress site? Your Site Health contains details about your WordPress and PMPro setup which can help us quickly pinpoint possible conflicts or problems that could cause the issue you’re currently experiencing.
Please follow the steps below to retrieve your Site Health Info in the WordPress admin and reply back to us when the details have been added:
- Navigate to Tools > Site Health in the WordPress admin.
- Click on the “Info” tab.
- Click the button to “Copy site info to clipboard”.
The entire output of your Site Health is now copied to your clipboard. You can then paste it into a reply here.
Kind Regards,
Jarryd
Support Manager at Paid Memberships Pro` wp-core version: 6.5.4 site_language: en_US user_language: en_US timezone: America/New_York permalink: /%category%/%post_id%/%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: open environment_type: production user_count: 7020 dotorg_communication: true wp-paths-sizes wordpress_path: /wordpress/core/6.5.4 wordpress_size: 67.12 MB (70375929 bytes) uploads_path: /srv/htdocs/wp-content/uploads uploads_size: 3.39 GB (3635186067 bytes) themes_path: /srv/htdocs/wp-content/themes themes_size: 70.60 MB (74027009 bytes) plugins_path: /srv/htdocs/wp-content/plugins plugins_size: 491.20 MB (515059433 bytes) database_size: 293.56 MB (307822592 bytes) wpcomsh-disk-space-used: 3.6 GB wpcomsh-disk-space-quota: 26.6 GB wp-dropins (2) advanced-cache.php: true object-cache.php: true wp-active-theme name: JNews - Child Theme (jnews-child) version: 1.0.0 author: Jegtheme author_website: https://themeforest.net/user/jegtheme?ref=jegtheme parent_theme: JNews (jnews) theme_features: widgets-block-editor, custom-line-height, menus, automatic-feed-links, title-tag, post-thumbnails, align-wide, customize-selective-refresh-widgets, post-formats, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, auto-load-next-post, editor-styles, editor-style, widgets theme_path: /srv/htdocs/wp-content/themes/jnews-child auto_update: Disabled wp-parent-theme name: JNews (jnews) version: 11.5.2 author: Jegtheme author_website: https://jegtheme.com/ theme_path: /srv/htdocs/wp-content/themes/jnews auto_update: Disabled wp-themes-inactive (5) Publisher: version: 7.6.2, author: BetterStudio, Auto-updates disabled Storefront: version: 4.6.0, author: Automattic, Updates managed by WordPress.com Twenty Twenty: version: 2.6, author: the WordPress team, Auto-updates disabled Twenty Twenty-Four: version: 1.0, author: the WordPress team, Updates managed by WordPress.com Twenty Twenty-Two: version: 1.4-wpcom, author: the WordPress team, Updates managed by WordPress.com wp-mu-plugins (2) Health Check Troubleshooting Mode: author: (undefined), version: 1.9.1 WP.com Site Helper: author: (undefined), version: (undefined) wp-plugins-active (63) Ads for WPBakery Page Builder (formerly Visual Composer): version: 1.0.7, author: Advanced Ads, Auto-updates enabled Advanced Ads: version: 1.52.3, author: Advanced Ads GmbH, Auto-updates enabled Advanced Ads Pro: version: 2.26.1, author: Advanced Ads GmbH, Auto-updates enabled Advanced Ads – Google AdSense In-feed Placement: version: 1.1.3, author: Advanced Ads, Auto-updates enabled Advanced Ads – Tracking: version: 2.7.1, author: Advanced Ads GmbH, Auto-updates enabled Akismet Anti-spam: Spam Protection: version: 5.3.2, author: Automattic - Anti-spam Team, Updates managed by WordPress.com Basic User Avatars: version: 1.0.8, author: Stranger Studios, Auto-updates enabled Classic Editor: version: 1.6.3, author: WordPress Contributors, Updates managed by WordPress.com Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates enabled Contact Form 7: version: 5.9.5, author: Takayuki Miyoshi, Auto-updates enabled Contact Form 7 Connector: version: 1.2.6, author: ARI Soft, Auto-updates enabled Contact Form CFDB7: version: 1.2.7, author: Arshid, Auto-updates enabled Custom CSS Pro: version: 1.0.7, author: WaspThemes, Auto-updates enabled Data Tables Generator by Supsystic: version: 1.10.33, author: supsystic.com, Auto-updates enabled Decurlify RSS: version: 1.01, author: Martin Tod, Auto-updates enabled Elastic Email Sender: version: 1.2.16, author: Elastic Email Inc., Auto-updates enabled Embed Any Document: version: 2.7.4, author: Awsm Innovations, Auto-updates enabled Flamingo: version: 2.5, author: Takayuki Miyoshi, Auto-updates enabled Gutenberg: version: 18.4.1, author: Gutenberg Team, Updates managed by WordPress.com Health Check & Troubleshooting: version: 1.7.0, author: The www.remarpro.com community, Auto-updates enabled Honeypot for Contact Form 7: version: 2.1.1, author: Nocean, Auto-updates enabled Jetpack: version: 13.5, author: Automattic, Updates managed by WordPress.com Jetpack CRM: version: 6.4.3, author: Automattic - Jetpack CRM team, Auto-updates enabled Jetpack CRM Extension: Invoicing Pro: version: 2.8.2, author: Automattic, Auto-updates enabled JNews - Essential: version: 11.0.9, author: Jegtheme, Auto-updates enabled JNews - JSON-LD: version: 11.0.4, author: Jegtheme, Auto-updates enabled JNews - Meta Header: version: 11.0.3, author: Jegtheme, Auto-updates enabled Layout Grid: version: 1.8.4, author: Automattic, Updates managed by WordPress.com MailerLite - Signup forms (official): version: 1.7.10, author: MailerLite, Auto-updates enabled Newsletter: version: 8.3.8, author: Stefano Lissa & The Newsletter Team, Auto-updates enabled Newsletter - Addons Manager: version: 1.2.1, author: The Newsletter Team, Auto-updates enabled Open Graphite: version: 1.7.1, author: Rocket Apps, Auto-updates enabled Page Links To: version: 3.3.7, author: Mark Jaquith, Auto-updates enabled Page Optimize: version: 0.5.5, author: Automattic, Updates managed by WordPress.com Paid Memberships Pro: version: 3.0.4, author: Paid Memberships Pro, Auto-updates enabled Paid Memberships Pro - Mailchimp Add On: version: 2.3.6, author: Paid Memberships Pro, Auto-updates enabled PMPro Roles: version: 1.0, author: Josh Levinson, Auto-updates enabled RadioInsight: version: 2021.02.21, author: Lance Venta, Auto-updates enabled Registration Honeypot: version: 1.0.0, author: Justin Tadlock, Auto-updates enabled Reusable Content Blocks: version: 1.1.3, author: Thecodepoetry, Auto-updates enabled Scheduled Post Guardian: version: 1.1.4, author: Mark Jaquith, Auto-updates enabled Search and Replace: version: 1.35, author: InfoD74, Auto-updates enabled Site Kit by Google: version: 1.128.0, author: Google, Auto-updates enabled TablePress: version: 2.3.2, author: Tobias B?thge, Auto-updates enabled TablePress Extension: Responsive Tables: version: 1.8, author: Tobias B?thge, Auto-updates enabled Virtual Robots.txt: version: 1.10, author: Marios Alexandrou, Auto-updates enabled When Last Login: version: 1.2.2, author: Yoohoo Plugins, Auto-updates enabled WordPress.com Editing Toolkit: version: 4.24842, author: Automattic, Updates managed by WordPress.com WP-Optimize - Clean, Compress, Cache: version: 3.3.2, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates enabled WP Armour - Honeypot Anti Spam: version: 2.2.01, author: Dnesscarkey, Auto-updates enabled WPBakery Page Builder: version: 7.6, author: Michael M - WPBakery.com, Auto-updates enabled WP Consent API: version: 1.0.7, author: RogierLankhorst, Auto-updates enabled WP Crontrol: version: 1.16.3, author: John Blackbourn, Auto-updates enabled WP Job Manager: version: 2.3.0, author: Automattic, Auto-updates enabled WP Job Manager Filter Widget: version: 2.0, author: Tushar Kapdi, Auto-updates enabled WP Twitter Auto Publish: version: 1.6.1, author: xyzscripts.com, Auto-updates enabled WP User Avatars: version: 1.4.1, author: Triple J Software, Inc., Auto-updates enabled YellowPencil Pro: version: 7.6.1, author: WaspThemes, Auto-updates enabled wp-plugins-inactive (27) Advanced Ads – Geo Targeting: version: 1.3.5, author: Advanced Ads, Auto-updates enabled Advanced Ads – Google Ad Manager Integration: version: 1.5.3, author: Advanced Ads GmbH, Auto-updates enabled Advanced Ads – Responsive Ads: version: 1.11.0, author: Advanced Ads GmbH, Auto-updates enabled Advanced Ads – Selling Ads: version: 1.4.0, author: Advanced Ads GmbH, Auto-updates enabled Advanced Ads – Slider: version: 1.4.10, author: Advanced Ads GmbH, Auto-updates enabled Crowdsignal Forms: version: 1.7.1, author: Automattic, Updates managed by WordPress.com Crowdsignal Polls & Ratings: version: 3.1.1, author: Automattic, Inc., Updates managed by WordPress.com Customizer Export/Import: version: 0.9.6, author: The Beaver Builder Team, Auto-updates enabled JNews - Auto Load Next Post: version: 11.0.2, author: Jegtheme, Auto-updates enabled JNews - Detail Category Customizer: version: 11.0.0, author: Jegtheme, Auto-updates enabled JNews - Social Share: version: 11.0.4, author: Jegtheme, Auto-updates enabled JNews - Split: version: 11.0.0, author: Jegtheme, Auto-updates enabled Maintenance Mode: version: 5.4, author: Michael W?hrer, Auto-updates enabled Multisite User Sync: version: 1.2, author: Shamim, Auto-updates enabled Paid Memberships Pro - Levels as DIV Layout Add On: version: .2, author: Stranger Studios, Auto-updates enabled Proxy Cache Purge: version: 5.2.1, author: Mika Epstein, Danila Vershinin, Auto-updates enabled Redirection: version: 5.4.2, author: John Godley, Auto-updates enabled Regenerate Thumbnails: version: 3.1.6, author: Alex Mills (Viper007Bond), Auto-updates enabled User Role Editor: version: 4.64.2, author: Vladimir Garagulya, Auto-updates enabled WooCommerce: version: 8.9.2, author: Automattic, Auto-updates enabled WooCommerce Shipping & Tax: version: 2.6.0, author: WooCommerce, Auto-updates enabled WooPayments: version: 7.7.0, author: Automattic, Auto-updates enabled WordPress Importer: version: 0.8.2, author: wordpressdotorg, Auto-updates enabled WP Job Manager - Go Fetch Jobs (Premium): version: 1.8.4.6, author: Bruno Carre?o, Auto-updates enabled WP Job Manager - ZipRecruiter Integration: version: 1.1.0, author: Automattic, Auto-updates enabled WP Rollback: version: 2.0.7, author: WP Rollback, Auto-updates enabled XML Sitemap & Google News: version: 5.4.9, author: RavanH, Auto-updates enabled wp-media image_editor: Photon_Subsizes_WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: 1 post_max_size: 2047M upload_max_filesize: 2047M max_effective_size: 2 GB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF ghostscript_version: not available wp-server server_architecture: Linux 5.10.0-23-amd64 x86_64 httpd_software: nginx php_version: 8.1.28 64bit php_sapi: fpm-fcgi max_input_variables: 6144 time_limit: 1200 memory_limit: 512M max_input_time: 1200 upload_max_filesize: 2047M php_post_max_size: 2047M curl_version: 8.7.1 OpenSSL/1.1.1w suhosin: false imagick_availability: false pretty_permalinks: true current: 2024-06-06T12:32:43+00:00 utc-time: Thursday, 06-Jun-24 12:32:43 UTC server-time: 2024-06-06T08:32:41-04:00 wp-database extension: mysqli server_version: 10.6.15-MariaDB-log client_version: mysqlnd 8.1.28 max_allowed_packet: 104857600 max_connections: 500 wp-constants WP_HOME: https://radioinsight.com WP_SITEURL: https://radioinsight.com WP_CONTENT_DIR: /srv/htdocs/wp-content WP_PLUGIN_DIR: /srv/htdocs/wp-content/plugins WP_MEMORY_LIMIT: 512M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8mb4 DB_COLLATE: utf8mb4_general_ci wp-filesystem wordpress: not writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable jetpack site_id: 232968139 ssl_cert: No time_diff: undefined version_option: 13.5:1717602776 old_version: 13.5-beta:1717526172 public: Public master_user: #35042 radio is_offline_mode: off is_offline_mode_constant: off current_user: #2 lventa tokens_set: Blog blog_token: oVS^!Z)4KSMd3c&REHk%OzkBu*4mkg8b user_token: Not set. version: 13.5 jp_plugin_dir: /wordpress/plugins/jetpack/13.5/ plan: business protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Wed, 05 Jun 2024 15:40:09 +0000","finished":"Wed, 05 Jun 2024 15:40:15 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":0,"sent":0,"finished":true,"last_sent":"~0"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[35061],"network_options":true}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/radioinsight.com","siteurl":"https:\/\/radioinsight.com","WP_HOME":"https:\/\/radioinsight.com","WP_SITEURL":"https:\/\/radioinsight.com"} idc_error_option: false idc_optin: true cxn_tests: All Pass. google-site-kit version: 1.128.0 php_version: 8.1.28 wp_version: 6.5.4 reference_url: https://radioinsight.com amp_mode: no site_status: connected-site user_status: not authenticated verification_status: verified-non-site-kit connected_user_count: 2 active_modules: site-verification, search-console, adsense, analytics-4, pagespeed-insights, tagmanager recoverable_modules: none required_scopes: openid: ? https://www.googleapis.com/auth/userinfo.profile: ? https://www.googleapis.com/auth/userinfo.email: ? https://www.googleapis.com/auth/siteverification: ? https://www.googleapis.com/auth/webmasters: ? https://www.googleapis.com/auth/adsense.readonly: ? https://www.googleapis.com/auth/analytics.readonly: ? https://www.googleapis.com/auth/tagmanager.readonly: ? capabilities: googlesitekit_authenticate: ? googlesitekit_setup: ? googlesitekit_view_posts_insights: ? googlesitekit_view_dashboard: ? googlesitekit_manage_options: ? googlesitekit_update_plugins: ? googlesitekit_view_splash: ? googlesitekit_view_authenticated_dashboard: ? googlesitekit_view_wp_dashboard_widget: ? googlesitekit_view_admin_bar_menu: ? googlesitekit_view_shared_dashboard: ? googlesitekit_read_shared_module_data::["search-console"]: ? googlesitekit_read_shared_module_data::["adsense"]: ? googlesitekit_read_shared_module_data::["analytics-4"]: ? googlesitekit_read_shared_module_data::["pagespeed-insights"]: ? googlesitekit_manage_module_sharing_options::["search-console"]: ? googlesitekit_manage_module_sharing_options::["adsense"]: ? googlesitekit_manage_module_sharing_options::["analytics-4"]: ? googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ? googlesitekit_delegate_module_sharing_management::["search-console"]: ? googlesitekit_delegate_module_sharing_management::["adsense"]: ? googlesitekit_delegate_module_sharing_management::["analytics-4"]: ? googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ? enabled_features: adsPax: ? audienceSegmentation: ? consentModeSwitzerland: ? conversionInfra: ? gm3Components: ? consent_mode: enabled consent_api: detected search-console_shared_roles: none search-console_management: owner adsense_shared_roles: none adsense_management: owner analytics-4_shared_roles: none analytics-4_management: owner pagespeed-insights_shared_roles: none pagespeed-insights_management: all_admins search_console_property: https://radioinsight.com/ adsense_account_id: pub-036????????????? adsense_client_id: ca-pub-036????????????? adsense_account_status: ready adsense_site_status: ready-no-auto-ads adsense_use_snippet: no adsense_web_stories_adunit_id: none adsense_setup_completed_timestamp: Not available adsense_abr_use_snippet: no adsense_abr_use_error_protection_snippet: no adsense_abr_setup_status: undefined analytics_4_account_id: 8133??? analytics_4_property_id: 3051786?? analytics_4_web_data_stream_id: 3271?????? analytics_4_measurement_id: G-RQ???????? analytics_4_use_snippet: yes analytics_4_ads_conversion_id: none analytics_4_available_custom_dimensions: none analytics_4_ads_linked: true analytics_4_ads_linked_last_synced_at: 1715639416 analytics_4_adsense_linked: undefined analytics_4_adsense_linked_last_synced_at: 0 tagmanager_account_id: 6006?????? tagmanager_container_id: GTM-KDP???? tagmanager_amp_container_id: none tagmanager_use_snippet: yes pmpro pmpro-cron-jobs: pmpro_cron_expire_memberships (2024-06-06 12:59:05) | pmpro_cron_expiration_warnings (2024-06-06 13:00:43) | pmpro_cron_admin_activity_email (2024-06-06 14:30:00) | pmpro_cron_delete_tmp (2024-06-06 14:30:00) | pmpro_cron_credit_card_expiring_warnings (2024-06-11 03:58:08) | pmpro_license_check_key (2024-06-11 03:58:08) pmpro-gateway: Stripe [stripe] pmpro-gateway-env: Live/Production [live] pmpro-orders: 11152 orders pmpro-discount-codes: 7 discount codes pmpro-sessions: session_status: Active pmpro-membership-levels: { "2": { "id": "2", "name": "Premium Annual", "description": "One-Year Subscription to RadioInsight Premium Content", "confirmation": "", "initial_payment": 50, "billing_amount": 50, "cycle_number": "1", "cycle_period": "Year", "billing_limit": "0", "trial_amount": 0, "trial_limit": "0", "allow_signups": "1", "expiration_number": "0", "expiration_period": "", "formatted_price": "<strong>$50.00 per Year<\/strong>.", "formatted_expiration": "", "meta": { "stripe_product_id": [ "prod_Kyyq0pPI01ipKL" ] } }, "3": { "id": "3", "name": "Premium Monthly", "description": "Recurring Monthly Subscription to RadioInsight Premium Content", "confirmation": "", "initial_payment": 5, "billing_amount": 5, "cycle_number": "1", "cycle_period": "Month", "billing_limit": "0", "trial_amount": 0, "trial_limit": "0", "allow_signups": "1", "expiration_number": "0", "expiration_period": "", "formatted_price": "$5.00 per Month<\/strong>.", "formatted_expiration": "", "meta": { "stripe_product_id": [ "prod_KyiuUtDwMdHcaz" ] } }, "4": { "id": "4", "name": "Free Community Membership", "description": "Free User Registration For RadioInsight Community", "confirmation": "", "initial_payment": 0, "billing_amount": 0, "cycle_number": "0", "cycle_period": "", "billing_limit": "0", "trial_amount": 0, "trial_limit": "0", "allow_signups": "1", "expiration_number": "0", "expiration_period": "", "formatted_price": "Free<\/strong>.", "formatted_expiration": "", "meta": [] } } pmpro-level-groups: { "1": { "id": "1", "name": "Main Group", "allow_multiple_selections": "0", "displayorder": "1", "level_ids": [ "2", "3", "4" ] } } pmpro-custom-templates: pmpro-getfile-usage: PMPRO_GETFILE_ENABLED is not set pmpro-htaccess-cache-usage: Off - No .htaccess file pmpro-pages: account: https://radioinsight.com/membership-account/ billing: https://radioinsight.com/membership-account/membership-billing/ cancel: https://radioinsight.com/membership-account/membership-cancel/ checkout: https://radioinsight.com/membership-account/membership-checkout/ confirmation: https://radioinsight.com/membership-account/membership-confirmation/ invoice: https://radioinsight.com/membership-account/membership-invoice/ levels: https://radioinsight.com/membership-account/membership-levels/ login: Not Set member_profile_edit: https://radioinsight.com/membership-account/your-profile/ pmpro-library-conflicts: stripe: v7.5.0 (2024-05-14 03:34:17) - /home/183737.cloudwaysapps.com/qudhkyjpnn/public_html/wp-content/plugins/jetpackcrm-ext-invoicing-pro/vendor/stripe/stripe-php/lib/Stripe.php | v7.5.0 (2024-06-06 08:32:44) - /srv/htdocs/wp-content/plugins/jetpackcrm-ext-invoicing-pro/vendor/stripe/stripe-php/lib/Stripe.php pmpro-current-site-url: https://radioinsight.com pmpro-recorded-site-url: https://radioinsight.com pmpro-pause-mode: Disabled<strong> `
Thank you for your feedback. It looks like the plugin
jetpackcrm-ext-invoicing-pro
causes a Stripe library conflict. Please try temporarily deactivating this plugin, run a test checkout and see if any errors such as the Stripe\Price error or duplicate transactions still show up and let me know?Kind Regards,
Jarryd
Support Manager at Paid Memberships ProEven after deactivating JetpackCRM the same errors appear. The two plugins worked alongside anohter until about a week ago.
Same error in the Site Health. In fact the first one, points to a server I moved the site off of three months ago.- stripe: v7.5.0 (2024-05-14 03:34:17) – /home/183737.cloudwaysapps.com/qudhkyjpnn/public_html/wp-content/plugins/jetpackcrm-ext-invoicing-pro/vendor/stripe/stripe-php/lib/Stripe.php | v7.5.0 (2024-06-09 20:44:37) – /srv/htdocs/wp-content/plugins/jetpackcrm-ext-invoicing-pro/vendor/stripe/stripe-php/lib/Stripe.php
In addition, can you please answer the original question as to would I be able to use the Stripe backend to manually connect their completed payment to their user accounts? They have now been awaiting a response from me for five days and that’s not good customer service.Also of potential note…
While my Stripe account says I am on API version 2024-04-10, Paid Memberships Pro says I am using 2022-11-15.
As well this is what my webhook activity log shows…
Event TypeLast ReceivedStatus
checkout.session.async_payment_failedNeverReceivedN/A
checkout.session.async_payment_succeededNever ReceivedN/A
checkout.session.completedNever ReceivedN/A
invoice.payment_action_requiredNever ReceivedN/A
charge.failedJune 9, 2024 4:35 am Working
charge.refundedJune 5, 2024 5:22 pm Working
customer.subscription.deletedMay 19, 2024 6:04 pm Working
invoice.payment_succeededJune 9, 2024 7:11 pm WorkingI’m afraid this looks like it’s an issue specific to your site, so we’re going to need to troubleshoot this issue together.
User #2 provided a screenshot that presented an error message “Error creating subscription for customer. Cannot get price. Class “Stripe\Price” not found.”
Please advise which level this user tried to checkout with when they go this error?
In addition, can you please answer the original question as to would I be able to use the Stripe backend to manually connect their completed payment to their user accounts? They have now been awaiting a response from me for five days and that’s not good customer service.
If there’s an active subscription in the gateway, you can manually create the user on your site, followed by creating an order for them that matches the last transaction and subscription ID in Stripe. This will connect PMPro to the user’s subscription in Stripe.
While my Stripe account says I am on API version 2024-04-10, Paid Memberships Pro says I am using 2022-11-15.
This shouldn’t have a direct effect on the issue you are experiencing. Your gateway events appear to be working as expected based on your current set up.
Kind Regards,
Jarryd
Support Manager at Paid Memberships ProThe user already had an existing Membership Level 4 (Free User) and Tried to subscribe to both Level 2 (Paid Annual) and Level 3 (Paid Monthly) receiving the same error for both.
If there’s an active subscription in the gateway, you can manually create the user on your site, followed by creating an order for them that matches the last transaction and subscription ID in Stripe. This will connect PMPro to the user’s subscription in Stripe.
I’m not sure I follow correctly. This first person already had an existing free account. I added an order and if I add that it shows an unending subscription for $0 inside PMP.
It appears that these payments did not trigger a subscription being created inside Stripe. Do I have to manually create that as well and is that doable without triggering another payment on that person’s credit card?
It appears that these payments did not trigger a subscription being created inside Stripe. Do I have to manually create that as well and is that doable without triggering another payment on that person’s credit card?
You won’t be able to create a subscription in Stripe for the user. You can only create a user in PMPro and connect them to a subscription that is active in Stripe if need be. As that user only has a free account, there isn’t an active subscription in Stripe (with an active billing profile that is charging them for anything)
Stripe won’t allow you to create a subscription and charge someone’s card manually via their portal.
Please try adding this code recipe to your site and see if this helps with the error you’ve been getting?
https://gist.github.com/dparker1005/a0e73029784d87e53a522539bd969c41
This recipe should be saved as it’s own file and added to the wp-content/mu-plugins/ folder. If the folder doesn’t exist you can create it. Please give this a try and let me know if it helps.
You won’t be able to create a subscription in Stripe for the user. You can only create a user in PMPro and connect them to a subscription that is active in Stripe if need be. As that user only has a free account, there isn’t an active subscription in Stripe (with an active billing profile that is charging them for anything)
Stripe won’t allow you to create a subscription and charge someone’s card manually via their portal.
You misunderstand, the person submitted a payment in PMP to upgrade from Free to Paid. But Stripe did not create the subscription ID when he upgraded.
The other user created a new Paid account where Stripe did not create a subscription ID.
How am I supposed to follow the instructions above to fix their accounts if there is no way to create a Subscription manually to tie the already existing payments into their accounts?
Please try adding this code recipe to your site and see if this helps with the error you’ve been getting?
https://gist.github.com/dparker1005/a0e73029784d87e53a522539bd969c41
This recipe should be saved as it’s own file and added to the wp-content/mu-plugins/ folder. If the folder doesn’t exist you can create it. Please give this a try and let me know if it helps.
At least in testing using the Code Snippet plugin to add it in, it appeared to work. But I won’t know until multiple users are successful.
And why would I put it in mu-plugins if I’m not running a Multisite?
As a follow-up, another new user still had the issue today.
The gateway (Stripe) doesn’t allow you to create a subscription for a user – the member needs to checkout again in order for a subscription to be created at the gateway.
mu-plugins refer to ‘Must Use’ plugins which mean they cannot be deactivated – this doesn’t relate to multisites.
Unfortunately I can’t replicate the same behavior you are experiencing on a local site of mine. The normal steps we would follow to troubleshoot this have been reviewed including loading our Stripe Library first as this can often have an effect, however it hasn’t fixed the issue you are experiencing.
We recommend either deactivating all plugins on your site except PMPro to see if the issue persists, and to narrow down a possible conflict caused with another plugin.
Alternatively, we recommend reaching out to a local developer in your area or post a project on https://jobs.wordpress.net for someone to work through your site and see if they can narrow down a possible cause behind this.
Kind Regards,
Jarryd
Support Manager at Paid Memberships ProBecause there have not been any recent updates to this topic, we will be changing the status to resolved. If you have any other questions regarding this issue please start a new topic for each question to ensure we can provide the best support possible.
Kind Regards,
Jarryd
Support Manager at Paid Memberships Pro
- The topic ‘Stripe Syncing Issue’ is closed to new replies.