• Resolved hugs4tomorrow

    (@hugs4tomorrow)


    I am having issues with Stripe Payment going through. I keep getting two errors:

    Error creating payment intent with Stripe. Please try again.

    Unhandled payment intent status:

    I have tried all the troubleshooting I found here by deactivating plugins and it still is not working. Any other suggestions.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @hugs4tomorrow,
    Glad you reached out. We’ll want a look at the detailed error logs to get to the bottom of things here.

    You can do this by navigating to Dashboard > Donations > Tools > Logs. Here is a screencast you might find helpful: https://screencast-o-matic.com/watch/c3eD0AVFgVG.

    From there, you’ll see a list of things that have been happening on your site. Look for those errors you mentioned in your message above. When you see one, click the eyeball icon next to it to open up a detailed view. Copy/paste that error code, and send it along to me.

    That detailed error code should give us some helpful context, and I can hop right in. Let me know if you have questions in the meantime, I’m happy to help.

    Thread Starter hugs4tomorrow

    (@hugs4tomorrow)

     Unhandled payment intent status:
    
    
    
    {
    "Payment Gateway": "stripe",
    "Donation": {
    "Object Class": "Give\Donations\Models\Donation",
    "\u0000\u0000properties": { "id": "int", "formId": "int", "formTitle": "string", "purchaseKey": "string", "donorIp": "string", "createdAt": "DateTime", "updatedAt": "DateTime", "status": "Give\Donations\ValueObjects\DonationStatus", "type": "Give\Donations\ValueObjects\DonationType", "mode": "Give\Donations\ValueObjects\DonationMode", "amount": "Give\Framework\Support\ValueObjects\Money", "feeAmountRecovered": "Give\Framework\Support\ValueObjects\Money", "exchangeRate": [ "string", "1" ], "gatewayId": "string", "donorId": "int", "firstName": "string", "lastName": "string", "email": "string", "subscriptionId": [ "int", 0 ], "billingAddress": "Give\Donations\Properties\BillingAddress", "anonymous": [ "bool", false ], "levelId": [ "string", "" ], "gatewayTransactionId": "string", "company": "string" }, "\u0000\u0000relationships": {
    "donor": "belongs-to",
    "subscription": "belongs-to",
    "notes": "has-many"
    },
    "\u0000\u0000attributes": { "id": 3447, "formId": 2155, "formTitle": "Donation Page", "purchaseKey": "e64fb600f3753551cb31ea33ed66c9f2", "donorIp": "174.16.204.56", "createdAt": { "Object Class": "DateTime", "date": "2023-01-26 21:45:33.000000", "timezone_type": 1, "timezone": "+00:00" }, "updatedAt": { "Object Class": "DateTime", "date": "2023-01-26 21:45:33.000000", "timezone_type": 1, "timezone": "+00:00" }, "status": { "Object Class": "Give\Donations\ValueObjects\DonationStatus", "\u0000\u0000value": "pending"
    },
    "type": {
    "Object Class": "Give\Donations\ValueObjects\DonationType",
    "\u0000\u0000value": "single" }, "mode": { "Object Class": "Give\Donations\ValueObjects\DonationMode", "\u0000\u0000value": "test"
    },
    "amount": {
    "Object Class": "Give\Framework\Support\ValueObjects\Money",
    "\u0000Give\Framework\Support\ValueObjects\Money\u0000amount": {
    "Object Class": "Money\Money",
    "\u0000Money\Money\u0000amount": "500",
    "\u0000Money\Money\u0000currency": {
    "Object Class": "Money\Currency",
    "\u0000Money\Currency\u0000code": "USD"
    }
    }
    },
    "feeAmountRecovered": null,
    "exchangeRate": "1",
    "gatewayId": "stripe",
    "donorId": 1,
    "firstName": "Amanda",
    "lastName": "Hoffa",
    "email": "[email protected]",
    "subscriptionId": 0,
    "billingAddress": {
    "Object Class": "Give\Donations\Properties\BillingAddress",
    "country": "",
    "address1": "",
    "address2": "",
    "city": "",
    "state": "",
    "zip": ""
    },
    "anonymous": false,
    "levelId": "0",
    "gatewayTransactionId": null,
    "company": null
    },
    "\u0000\u0000original": { "id": null, "formId": 2155, "formTitle": "Donation Page", "purchaseKey": null, "donorIp": "174.16.204.56", "createdAt": null, "updatedAt": null, "status": { "Object Class": "Give\Donations\ValueObjects\DonationStatus", "\u0000\u0000value": "pending"
    },
    "type": null,
    "mode": {
    "Object Class": "Give\Donations\ValueObjects\DonationMode",
    "\u0000\u0000value": "test" }, "amount": { "Object Class": "Give\Framework\Support\ValueObjects\Money", "\u0000Give\Framework\Support\ValueObjects\Money\u0000amount": { "Object Class": "Money\Money", "\u0000Money\Money\u0000amount": "500", "\u0000Money\Money\u0000currency": { "Object Class": "Money\Currency", "\u0000Money\Currency\u0000code": "USD" } } }, "feeAmountRecovered": null, "exchangeRate": "1", "gatewayId": "stripe", "donorId": 1, "firstName": "Amanda", "lastName": "Hoffa", "email": "[email protected]", "subscriptionId": 0, "billingAddress": { "Object Class": "Give\Donations\Properties\BillingAddress", "country": "", "address1": "", "address2": "", "city": "", "state": "", "zip": "" }, "anonymous": false, "levelId": "0", "gatewayTransactionId": null, "company": null }, "\u0000Give\Framework\Models\Model\u0000cachedRelations": { "donor": { "Object Class": "Give\Donors\Models\Donor", "\u0000\u0000properties": {
    "id": "int",
    "userId": [
    "int",
    0
    ],
    "createdAt": "DateTime",
    "name": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "prefix": "string",
    "additionalEmails": [
    "array",
    []
    ],
    "totalAmountDonated": "Give\Framework\Support\ValueObjects\Money",
    "totalNumberOfDonations": "int"
    },
    "\u0000\u0000relationships": { "donations": "has-many", "subscriptions": "has-many" }, "\u0000\u0000attributes": {
    "id": 1,
    "userId": 1,
    "createdAt": {
    "Object Class": "DateTime",
    "date": "2022-11-10 04:28:01.000000",
    "timezone_type": 1,
    "timezone": "+00:00"
    },
    "name": "Katie Heller",
    "firstName": "Katie",
    "lastName": "Heller",
    "email": "[email protected]",
    "prefix": null,
    "additionalEmails": [
    "[email protected]",
    "[email protected]",
    "[email protected]"
    ],
    "totalAmountDonated": {
    "Object Class": "Give\Framework\Support\ValueObjects\Money",
    "\u0000Give\Framework\Support\ValueObjects\Money\u0000amount": {
    "Object Class": "Money\Money",
    "\u0000Money\Money\u0000amount": "0",
    "\u0000Money\Money\u0000currency": {
    "Object Class": "Money\Currency",
    "\u0000Money\Currency\u0000code": "USD"
    }
    }
    },
    "totalNumberOfDonations": 0
    },
    "\u0000*\u0000original": {
    "id": 1,
    "userId": 1,
    "createdAt": {
    "Object Class": "DateTime",
    "date": "2022-11-10 04:28:01.000000",
    "timezone_type": 1,
    "timezone": "+00:00"
    },
    "name": "Katie Heller",
    "firstName": "Katie",
    "lastName": "Heller",
    "email": "[email protected]",
    "prefix": null,
    "additionalEmails": [
    "[email protected]",
    "[email protected]",
    "[email protected]"
    ],
    "totalAmountDonated": {
    "Object Class": "Give\Framework\Support\ValueObjects\Money",
    "\u0000Give\Framework\Support\ValueObjects\Money\u0000amount": {
    "Object Class": "Money\Money",
    "\u0000Money\Money\u0000amount": "0",
    "\u0000Money\Money\u0000currency": {
    "Object Class": "Money\Currency",
    "\u0000Money\Currency\u0000code": "USD"
    }
    }
    },
    "totalNumberOfDonations": 0
    },
    "\u0000Give\Framework\Models\Model\u0000cachedRelations": []
    }
    }
    }
    }
    
    Stripe Payment Intent Error
    {
        "post_title": "Stripe Payment Intent Error",
        "post_content": "Unable to create a payment intent. Details: Invalid URL: An explicit scheme (such as https) must be provided.",
        "post_parent": 0,
        "log_type": "gateway_error",
        "file": "/home2/hugs4row/public_html/wp-content/plugins/give/includes/gateways/functions.php",
        "line": 258,
        "function": "add",
        "class": "Give_Logging"
    }

    Hi @hugs4tomorrow,
    Thanks for sending those codes along, they are helpful.

    We’ll want to address this code: “Unable to create a payment intent. Details: Invalid URL: An explicit Scheme (such as https) must be provided.”

    That error can pop for a couple reasons, the most common of which is that HTTPS isn’t being served across the entire site. If you have a page or two that aren’t on HTTPS, that can cause you a bit of trouble. You’ll want to double check to be sure the entire site is on HTTPS.

    If this doesn’t get you going, I’ll need a look at your system information. First, send along your system information. You can do this by navigating to Donations > Tools > System Info (tab) and click the button to “Get System Report” and copy/paste that in your reply here.

    Give this a look and let me know how things go. If you have any questions I’m happy to hop back in!

    Thread Starter hugs4tomorrow

    (@hugs4tomorrow)

    WordPress Environment
    
    Home URL: https://hugs4tomorrow.org
    Site URL: https://hugs4tomorrow.org
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔</img>
    Language: en_US
    Permalink Structure: /%postname%/
    Show on Front: page
    Page on Front: Home (#1775)
    Page for Posts: Blog (#3369)
    Table Prefix Length: portal_
    Table Prefix Length: 7
    Table Prefix Status: Acceptable
    Admin AJAX: Accessible
    Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval
    
    Server Environment
    
    Hosting Provider: DBH: localhost, SRV: hugs4tomorrow.org
    TLS Connection: Connection uses TLS 1.3
    TLS Connection: Probably Okay
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 516 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    PHP Max Upload Size: 512 MB
    cURL Version: 7.87.0, OpenSSL/1.1.1s
    SUHOSIN Installed: –
    MySQL Version: 5.7.23
    Default Timezone is UTC: ✔</img>
    fsockopen/cURL: ✔</img>
    SoapClient: ✔</img>
    DOMDocument: ✔</img>
    gzip: ✔</img>
    GD Graphics Library: ✔</img>
    Multibyte String: ✔</img>
    Remote Post: ✔</img>
    Remote Get: ✔</img>
    
    GiveWP Configuration
    
    GiveWP Version: 2.24.1
    GiveWP Cache: Enabled
    Database Updates: All DB Updates Completed.
    Database Updates: All Database Migrations Completed.
    Database Tables: ✔</img> portal_give_donors✔</img> portal_give_donormeta✔</img> portal_give_comments✔</img> portal_give_commentmeta✔</img> portal_give_sessions✔</img> portal_give_formmeta✔</img> portal_give_sequential_ordering✔</img> portal_give_donationmeta✔</img> portal_give_revenue✔</img> portal_give_migrations✔</img> portal_give_log
    GiveWP Cache: Enabled
    GiveWP Cache: ✔</img>New Donation✔</img>Donation Receipt✔</img>Donation Processing Receipt❌</img>New Offline Donation❌</img>Offline Donation Instructions✔</img>New User Registration✔</img>User Registration Information✔</img>Donation Note✔</img>Email access
    Upgraded From: 2.23.2
    Test Mode: Enabled
    Currency Code: USD
    Currency Position: Before
    Decimal Separator: .
    Thousands Separator: ,
    Success Page:
    Failure Page:
    Donation History Page:
    GiveWP Forms Slug: /donations/
    Enabled Payment Gateways: Stripe - Credit Card, PayPal Standard
    Default Payment Gateway: Stripe - Credit Card
    PayPal IPN Notifications: IPN received for #2259 ( 18K20284W3811134P ) on 11/23/2022 at 18:39. Status VERIFIED
    Donor Email Access: Enabled
    Stripe Webhook Notifications: N/A
    
    Active GiveWP Add-ons
    
    Give - Stripe Gateway: ✔</img> Licensed – by GiveWP – 2.5.0
    
    Other Active Plugins
    
    Admin Color Schemes: by WordPress Core Team – 3.0.0
    Backup Duplicator & Migration - WP STAGING: by WP-STAGING, WPStagingBackup – 2.12.0
    Blogger Importer: by wordpressdotorg – 0.9.1
    Child Theme Configurator: by Lilaea Media – 2.6.0
    Classic Editor: by WordPress Contributors – 1.6.2
    Elementor: by Elementor.com – 3.10.0
    Elementor Pro: by Elementor.com – 3.5.2
    ElementsKit Lite: by Wpmet – 2.8.0
    Endurance Page Cache: by Mike Hansen – 2.2
    MailPoet: by MailPoet – 4.5.2
    RafflePress Lite: by RafflePress – 1.11.3
    Smash Balloon Instagram Feed: by Smash Balloon – 6.1
    WordPress Stripe Donation: by HM Plugin – 3.1.6
    WPForms Lite: by WPForms – 1.7.9.1
    
    Inactive Plugins
    
    All in One SEO: by All in One SEO Team – 4.2.9
    Astra Pro: by Brainstorm Force – 3.9.2
    Contact Form 7: by Takayuki Miyoshi – 5.7.2
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.12.1
    Kirki Customizer Framework: by David Vongries – 4.0.24
    LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: by Themeisle – 2.6.2
    Nonprofit Organization Pro Custom Posttype: by misbahwp – 1.0
    OptinMonster: by OptinMonster Popup Builder Team – 2.11.2
    Spectra: by Brainstorm Force – 2.3.0
    Starter Templates: by Brainstorm Force – 3.1.22
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com, DavidAnderson – 1.22.24
    WooCommerce: by Automattic – 6.9.2
    
    Active MU Plugins
    
    Endurance Page Cache: by Mike Hansen – 2.2
    WP STAGING Optimizer: by René Hermenau – 1.5.1
    
    Theme
    
    Name: Hello Elementor
    Version: 2.6.1
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Child Theme: No – If you're modifying GiveWP on a parent theme you didn't build personally, then we recommend using a child theme. See: How to Create a Child Theme

    Hi @hugs4tomorrow,
    Thanks for sending along that system information. I can see you haven’t yet selected your Success Page, Failure Page and Donation History Page, and you’ll need those in order for donations to process correctly.

    You can find this by navigating to Donations > Settings and then using the dropdown menus beside each of those options to select the appropriate pages. Once you’ve done that, click “Save Changes”.

    Once that is done, run a test donation and let me know how things shake out. If you still have trouble, I’ll hop back in for more digging!

    Hi @hugs4tomorrow,
    It’s been a bit since I’ve heard back, and I know troubleshooting issues sometimes takes a little extra time. I’ll mark this as resolved for now, but if you still have questions you can create a new ticket right here and we’ll be happy to take a look. Have a great day!

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

The topic ‘Error with Payment Intent’ is closed to new replies.