michellekoen
Forum Replies Created
-
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Stripe Webhook Error 301As stated in the OP I’m getting
payment_intent.succeeded
Response
301 ERR
Invalid encoding: ISO-8859-1The details of the request are as follows:
{ "id": "evt_3N2Q1fEEFsnsEhUI1gqHzaLG", "object": "event", "api_version": "2022-11-15", "created": 1682821813, "data": { "object": { "id": "pi_3N2Q1fEEFsnsEhUI1Bm0Iu5P", "object": "payment_intent", "amount": 5000, "amount_capturable": 0, "amount_details": { "tip": { } }, "amount_received": 5000, "application": "ca_9aCrgIfxIYTRTkMvw30fMqg92su6Sr1i", "application_fee_amount": 100, "automatic_payment_methods": null, "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", "client_secret": "xxx", "confirmation_method": "automatic", "created": 1682821811, "currency": "aud", "customer": "cus_No25PHNT2yUI3W", "description": "Vesak Donations: $50.00 -Xxxx xxxx ([email protected])", "invoice": null, "last_payment_error": null, "latest_charge": "ch_3N2Q1fEEFsnsEhUI1W4H70I5", "livemode": true, "metadata": { "Donation Post ID": "12456", "Sequential ID": "33", "Email": "[email protected]" }, "next_action": null, "on_behalf_of": null, "payment_method": "pm_1N2Q1eEEFsnsEhUIwvMBB9sQ", "payment_method_options": { "card": { "installments": null, "mandate_options": null, "network": null, "request_three_d_secure": "automatic" } }, "payment_method_types": [ "card" ], "processing": null, "receipt_email": null, "review": null, "setup_future_usage": null, "shipping": null, "source": null, "statement_descriptor": "SANTI FOREST MONASTERY", "statement_descriptor_suffix": null, "status": "succeeded", "transfer_data": null, "transfer_group": null } }, "livemode": true, "pending_webhooks": 1, "request": { "id": "req_8lbYAbxxeMpVT9u", "idempotency_key": "b3abb94a-cb1b-427a-830a-c07ac1c87c5a" }, "type": "payment_intent.succeeded" }
I can’t see anything pointing to what you described. There are no URLs in this response.
- This reply was modified 1 year, 10 months ago by michellekoen.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Stripe Webhook Error 301Thanks for getting back to me.
It could be redirects. I’m not excellent at understanding HTACCESS and how this might work with a POST request. However, this looks like a pretty standard WP HTACCESS
# BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_expires.c> # </IfModule> Options -Indexes <IfModule mod_headers.c> # Header set X-Endurance-Cache-Level "2" # Header set X-nginx-cache "WordPress" </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /santi/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /santi/index.php [L] </IfModule> # END WordPress
Here’s my system report
### WordPress Environment ### Home URL: https://santifm.org/santi Site URL: https://santifm.org/santi WP Version: 6.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_AU Permalink Structure: /%year%/%monthnum%/%day%/%postname%/ Show on Front: page Page on Front: Welcome to Santi (#4134) Page for Posts: News (#4136) Table Prefix Length: ##_ Table Prefix Length: 3 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, dp-rewrite-republish ### Server Environment ### Hosting Provider: DBH: localhost, SRV: santifm.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: 250 MB cURL Version: 8.0.1, OpenSSL/1.1.1t SUHOSIN Installed: – MySQL Version: 5.7.23 Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? gzip: ? GD Graphics Library: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### GiveWP Configuration ### GiveWP Version: 2.27.0 GiveWP Cache: Enabled Database Updates: All DB Updates Completed. Database Updates: All database migrations completed. Database Tables: ? wp_give_donors? wp_give_donormeta? wp_give_comments? wp_give_commentmeta? wp_give_sessions? wp_give_formmeta? wp_give_sequential_ordering? wp_give_donationmeta? wp_give_revenue? wp_give_migrations? wp_give_log GiveWP Cache: Enabled GiveWP Cache: ?New Donation?Donation Receipt?Donation Processing Receipt?New Offline Donation?Offline Donation Instructions?New User Registration?User Registration Information?Donation Note?Email access Upgraded From: 2.25.2 Test Mode: Enabled Currency Code: AUD Currency Position: Before Decimal Separator: . Thousands Separator: , Success Page: https://santifm.org/santi/donation-confirmation/ Failure Page: https://santifm.org/santi/donation-failed/ Donation History Page: https://santifm.org/santi/donor-dashboard/ GiveWP Forms Slug: /donations/ Enabled Payment Gateways: Stripe - Credit Card, PayPal Standard, Offline Donation Default Payment Gateway: Stripe - Credit Card PayPal IPN Notifications: IPN received for #12459 ( 40L58807S7218652M ) on 04/30/2023 at 12:38. Status VERIFIED Donor Email Access: Enabled Stripe Webhook Notifications: N/A ### Active GiveWP Add-ons ### ### Other Active Plugins ### Add Posts to Pages: by Arsham Mirshah – 1.4.1 Akismet Anti-Spam: by Automattic – 5.1 Donations via PayPal: by Tips and Tricks HQ, Johan Steen – 1.9.10 Increase Maximum Upload File Size: by Imagify – 2.0.4 MailPoet: by MailPoet – 4.13.0 MailPoet Premium: by MailPoet – 4.13.0 Modal Block: by Mark Bird – 2.1 Mu Manager: by Jose Mortellaro – 0.0.1 Ninja Forms: by Saturday Drive – 3.6.23 Post Type Switcher: by Triple J Software, Inc. – 3.2.1 Pretty Google Calendar: by LBell – 1.4.1 Say What?: by Ademti Software – 2.1.4 Term Management Tools: by theMikeD, scribu – 2.0.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com, DavidAnderson – 1.23.3 User Stats: by Dean Robinson – 1.0.7 WP-Filebase: by Fabian Schlieper – 3.4.4 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 ### Inactive Plugins ### Fast Secure Contact Form: by Mike Challis, Ken Carlson – 4.0.51 Image Pro: by Mihai Valentin – 0.36 IP Threat Blocker by Musubu: by Musubu – 1.1.1 Jetpack: by Automattic – 12.0 MailChimp: by MailChimp – 1.5.8 Wordfence Security: by Wordfence – 7.9.2 WP Force SSL: by WebFactory Ltd – 1.65 ### Active MU Plugins ### SSO: by Garth Mortensen, Mike Hansen – 0.4 ### Theme ### Name: SantiFM2016 Version: 0.1 Author URL: https://mkgd.net 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
Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] QR code within emailIt’d be great to have the ticket id as a template tag. Thanks
Forum: Plugins
In reply to: [WP eCommerce] Empty cartDid you manage to get this resolved. I’ve had my shop set to ‘buy now’ since December!
Forum: Plugins
In reply to: [WP eCommerce] Choosing shipping calculation methodEven after flushing theme cache etc. This persisted but it seems 2 days later to have resolved itself.
ApologiesForum: Fixing WordPress
In reply to: Any problem with domain name change?This will answer your questions
Forum: Fixing WordPress
In reply to: Suhosin configuration for wordpress ?Did you ever get an answer on this one?
Forum: Fixing WordPress
In reply to: How do I remove the Permanant links that are on every Title.You need to find something like this
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
and change it to
<h2 class="entry-title"><?php the_title(); ?></h2>
Forum: Networking WordPress
In reply to: Multisite Installation in a Subdirectory – Cant Access Any SitesNo errors in the log file from yesterday when I played around with all of those changes..
I’ve got plenty of space on my server, maybe I should just do a clean install in a new subdirectory for each site..
Thanks for your help..
Forum: Networking WordPress
In reply to: Multisite Installation in a Subdirectory – Cant Access Any SitesOK,
I’ve hat a play around with the .htaccess in the root for the main site with no luck.
I deleted all those extra re-writes one by one until I had the blank pre-network wordpress code:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Still the sites in the sub directory didn’t work. So I then copyied the .htaccess from the sub-directory into the main root. The main site installation continues to work fine and I can access the main installation of the subdirectory but network sites still fail.
With the networked version of .htaccess in the main root I tried it with and without the network path ie.:
# BEGIN WordPress RewriteBase /artists/
and
# BEGIN WordPress RewriteBase /
This is with a completely bare .htaccess in the main root aside from the wordpress code.
Any other thoughts, or do I have to face the fact that it just won’t work?
Forum: Networking WordPress
In reply to: Multisite Installation in a Subdirectory – Cant Access Any SitesI’ll give that a try.. might have to wait until after the holiday season though..
Thanks
S
Forum: Networking WordPress
In reply to: Multisite Installation in a Subdirectory – Cant Access Any SitesThe subdirectory .htaccess has only the code that the wordpress network setup asked for:
# BEGIN WordPress RewriteBase /artists/ RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress
The main site .htaccess has the standard pre-network wordpress code:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Plus a whole heap of re-write commands for subdomains outside of the wordpress hash such as:
RewriteCond %{HTTP_HOST} ^susyblue.mydomain.net$ [OR] RewriteCond %{HTTP_HOST} ^www.susyblue.mydomain.net$ RewriteRule ^/?$ "http\:\/\/www\.mydomain\.net\/category\/artists\/susy\-blue\/" [R=301,L] RewriteCond %{HTTP_HOST} ^blog.mydomain.net$ [OR] RewriteCond %{HTTP_HOST} ^www.blog.mydomain.net$ RewriteRule ^/?$ "http\:\/\/www\.mydomain\.net\/category\/blog\/" [R=301,L] RewriteCond %{HTTP_REFERER} !^https://*.mydomain.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://*.mydomain.net$ [NC]
Forum: Hacks
In reply to: widget spitting out values as arrays instead of single itemsThanks Mark!
Forum: Hacks
In reply to: widget spitting out values as arrays instead of single itemsThanks Mark
Ooops didn’t know about pastebin
Here’s the codeLines 80 and 81 are using the format you describe above and returning nothing due true referring to ‘is it a single item or an array?’
For some reason it’s returning as an array, if I set TRUE then it spits out nothing. If I set FALSE then I still have the problem that it’s an array.
What I need to know is WHY it’s making the results in my widget an array (with only 1 item) and how I can fix it.
Michelle