I am using the WP mail SMTP (0.11.2) plugin.
usingWordpress4.9.1
When I sent my email it gives me this error SMTP -> ERROR: Failed to connect to server or Could not authenticate.
How can I fix it?
C:\wamp64\www\wordpress\wp-content\plugins\wp-mail-smtp\wp_mail_smtp.php:258:boolean false
Here is my testmail debuging info:
PHPMailer Object
(
[Version] => 5.2.22
[Priority] =>
[CharSet] => UTF-8
[ContentType] => text/plain
[Encoding] => 8bit
[ErrorInfo] => SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[From] => xxxxxxxxxx#gmail.com
[FromName] => 搖滾俱樂部
[Sender] =>
[ReturnPath] =>
[Subject] => WP Mail SMTP: Test mail to bb5566123com#yahoo.com.tw
[Body] => 這封測試郵件由 WordPress 外掛 WP Mail SMTP 自動產生。
[AltBody] =>
[Ical] =>
[MIMEBody:protected] => 這封測試郵件由 WordPress 外掛 WP Mail SMTP 自動產生。
[MIMEHeader:protected] => Date: Fri, 8 Dec 2017 14:51:09 +0000
To: xxxxxxxxx#yahoo.com.tw
From: =?UTF-8?B?5pCW5ru+5L+x5qiC6YOo?=
Subject: WP Mail SMTP: Test mail to bb5566123com#yahoo.com.tw
Message-ID: <1d6e4a91953547c850de852e798ccbba#club3.idv.tw>
X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[mailHeader:protected] =>
[WordWrap] => 0
[Mailer] => smtp
[Sendmail] => /usr/sbin/sendmail
[UseSendmailOptions] => 1
[PluginDir] =>
[ConfirmReadingTo] =>
[Hostname] =>
[MessageID] =>
[MessageDate] => Fri, 8 Dec 2017 14:51:09 +0000
[Host] => smtp.gmail.com
[Port] => 465
[Helo] =>
[SMTPSecure] => ssl
[SMTPAutoTLS] => 1
[SMTPAuth] => 1
[SMTPOptions] => Array
(
)
[Username] => xxxxxxxxxxx#gmail.com
[Password] => xxxxxxxxxxxx
[AuthType] =>
[Realm] =>
[Workstation] =>
[Timeout] => 300
[SMTPDebug] => 0
[Debugoutput] => echo
[SMTPKeepAlive] =>
[SingleTo] =>
[SingleToArray] => Array
(
)
[do_verp] =>
[AllowEmpty] =>
[LE] =>
[DKIM_selector] =>
[DKIM_identity] =>
[DKIM_passphrase] =>
[DKIM_domain] =>
[DKIM_private] =>
[DKIM_private_string] =>
[action_function] =>
[XMailer] =>
[smtp:protected] => SMTP Object
(
[Version] => 5.2.22
[SMTP_PORT] => 25
[CRLF] =>
[do_debug] => 0
[Debugoutput] => echo
[do_verp] =>
[Timeout] => 300
[Timelimit] => 300
[smtp_transaction_id_patterns:protected] => Array
(
[exim] => /[0-9]{3} OK id=(.*)/
[sendmail] => /[0-9]{3} 2.0.0 (.*) Message/
[postfix] => /[0-9]{3} 2.0.0 Ok: queued as (.*)/
)
[smtp_conn:protected] =>
[error:protected] => Array
(
[error] =>
[detail] =>
[smtp_code] =>
[smtp_code_ex] =>
)
[helo_rply:protected] =>
[server_caps:protected] =>
[last_reply:protected] =>
)
[to:protected] => Array
(
[0] => Array
(
[0] => xxxxxxxxxx#yahoo.com.tw
[1] =>
)
)
[cc:protected] => Array
(
)
[bcc:protected] => Array
(
)
[ReplyTo:protected] => Array
(
)
[all_recipients:protected] => Array
(
[xxxxxxxxxxx#yahoo.com.tw] => 1
)
[RecipientsQueue:protected] => Array
(
)
[ReplyToQueue:protected] => Array
(
)
[attachment:protected] => Array
(
)
[CustomHeader:protected] => Array
(
)
[lastMessageID:protected] => <1d6e4a91953547c850de852e798ccbba#club3.idv.tw>
[message_type:protected] => plain
[boundary:protected] => Array
(
[1] => b1_1d6e4a91953547c850de852e798ccbba
[2] => b2_1d6e4a91953547c850de852e798ccbba
[3] => b3_1d6e4a91953547c850de852e798ccbba
)
[language:protected] => Array
(
[authenticate] => SMTP Error: Could not authenticate.
[connect_host] => SMTP Error: Could not connect to SMTP host.
[data_not_accepted] => SMTP Error: data not accepted.
[empty_message] => Message body empty
[encoding] => Unknown encoding:
[execute] => Could not execute:
[file_access] => Could not access file:
[file_open] => File Error: Could not open file:
[from_failed] => The following From address failed:
[instantiate] => Could not instantiate mail function.
[invalid_address] => Invalid address:
[mailer_not_supported] => mailer is not supported.
[provide_address] => You must provide at least one recipient email address.
[recipients_failed] => SMTP Error: The following recipients failed:
[signing] => Signing Error:
[smtp_connect_failed] => SMTP connect() failed.
[smtp_error] => SMTP server error:
[variable_set] => Cannot set or reset variable:
[extension_missing] => Extension missing:
)
[error_count:protected] => 2
[sign_cert_file:protected] =>
[sign_key_file:protected] =>
[sign_extracerts_file:protected] =>
[sign_key_pass:protected] =>
[exceptions:protected] => 1
[uniqueid:protected] => 1d6e4a91953547c850de852e798ccbba
)
Heading
Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
)
Connection: Failed to connect to server.
Error number 2. "Error notice: stream_socket_client():
SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failedConnection: Failed to connect to server.
Error number 2. "Error notice: stream_socket_client(): Failed to enable cryptoConnection: Failed to connect to server.
Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)
SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Try this plugin https://wordpress.org/plugins/blastex and send email without local smtp server !
Probably self signed certificate on smtp server !!!
Related
I'm working on migrating a Drupal 7.1 site. After migrating the site to the new server, email notifications don't seem to be working (even though I'm using the same SMTP config as in the old server).
When going to the SMTP Authentication Support module settings and trying to send a test email, I get the following error message in the logs:
notifications disabled - discarding email to address:XXX, message: Array ( [id] => smtp_smtp-test [module] => smtp [key] => smtp-test [to] => XXX [from] => XXX [language] => stdClass Object ( [language] => en [name] => English [native] => English [direction] => 0 [enabled] => 1 [plurals] => 0 [formula] => [domain] => [prefix] => [weight] => 0 [javascript] => ) [params] => Array ( [subject] => Drupal SMTP test e-mail [body] => Array ( [0] => If you receive this message it means your site is capable of using SMTP to send e-mail. ) ) [send] => [subject] => Drupal SMTP test e-mail [body] => Array ( [0] => If you receive this message it means your site is capable of using SMTP to send e-mail. ) [headers] => Array ( [MIME-Version] => 1.0 [Content-Type] => text/plain; charset=UTF-8; format=flowed; delsp=yes [Content-Transfer-Encoding] => 8Bit [X-Mailer] => Drupal [Return-Path] => XXX [Sender] => XXX [From] => XXX ) )
The module itself indicates that the SMTP module is active, and the SMTP credentials are correct. I've tried looking into this "notifications disabled" but I don't see any setting that could be preventing notifications from being enabled.
Any idea of what could be going on here or where to start looking?
im trying to get the xml but i always get a 403 error. But with postman its working fine.
i dont think i did something wrong with the authorization but maybe im wrong.
this code is in the functions.php and im calling it with https://localhost/wordpress/wp-admin/admin-ajax.php?action=nopriv_search_mobileads
add_action('wp_ajax_nopriv_search_mobileads', 'get_mobileads_from_api');
add_action('wp_ajax_search_mobileads', 'get_mobileads_from_api');
function get_mobileads_from_api() {
$url = ('https://services.mobile.de/search-api/search?');
$wp_request_headers = array(
'Host' => 'https://services.mobile.de',
'Accept' => 'application/xml',
'Authorization' => 'Basic '.base64_encode('id:pw')
);
$results = wp_remote_request(
$url,
array(
'method' => 'GET',
'headers' => $wp_request_headers
)
);
print_r($results);
}
output:
Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( ) ) [body] => [response] => Array ( [code] => 403 [message] => Forbidden ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => [raw] => HTTP/1.1 403 [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( ) ) [status_code] => 403 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://services.mobile.de/search-api/search? [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) ) 0
Unless the actual username is "id" and the actual password is "pw" that's not going to work.
found a way.
add_action('wp_ajax_nopriv_get_ads_from_api','get_ads_from_api');
add_action('wp_ajax_get_ads_from_api','get_ads_from_api');
function get_ads_from_api(){
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://services.mobile.de/search-api/search?',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Basic ***'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
}
I'm getting an error such as this after updating Woocommerce to its latest version.
PayPal error (10002): An error (10002) occurred while processing your PayPal payment. Please contact the store owner for assistance.
This is my error log:
06-05-2020 # 15:33:45 - WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.paypal.com/nvp with params: Array
(
[LOGOIMG] => https://public-health-safety.com/wp-content/uploads/2019/06/PHS-Logo-150x72.jpg
[HDRIMG] =>
[PAGESTYLE] =>
[BRANDNAME] => PHS
[RETURNURL] => https://public-health-safety.com/checkout/?woo-paypal-return=true
[CANCELURL] => https://public-health-safety.com/cart/?woo-paypal-cancel=true
[LANDINGPAGE] => Login
[SOLUTIONTYPE] => Sole
[PAYMENTREQUEST_0_PAYMENTACTION] => sale
[PAYMENTREQUEST_0_INSURANCEAMT] => 0
[PAYMENTREQUEST_0_HANDLINGAMT] => 0
[PAYMENTREQUEST_0_CUSTOM] =>
[PAYMENTREQUEST_0_INVNUM] =>
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[PAYMENTREQUEST_0_AMT] => 190
[PAYMENTREQUEST_0_ITEMAMT] => 190
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[NOSHIPPING] => 0
[EMAIL] => phsinc33#yahoo.com
[PAYMENTREQUEST_0_SHIPTONAME] =>
[PAYMENTREQUEST_0_SHIPTOSTREET] => 1528 W Adams
[PAYMENTREQUEST_0_SHIPTOSTREET2] =>
[PAYMENTREQUEST_0_SHIPTOCITY] => Chicago
[PAYMENTREQUEST_0_SHIPTOSTATE] => IL
[PAYMENTREQUEST_0_SHIPTOZIP] => 60607
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => 3124910081
[L_PAYMENTREQUEST_0_NAME0] => AA 20-0608 - Asbestos Awareness 4-hour Training CAMICB
[L_PAYMENTREQUEST_0_DESC0] => ASBESTOS AWARENESS 4-HR TRAINING
Qualifies:
Per requirement of Community Association Managers International Certification
[L_PAYMENTREQUEST_0_QTY0] => 2
[L_PAYMENTREQUEST_0_AMT0] => 95
[L_PAYMENTREQUEST_0_NUMBER0] =>
[METHOD] => SetExpressCheckout
[VERSION] => 120.0
[USER] =>
[PWD] =>
[SIGNATURE] =>
)
06-05-2020 # 15:33:45 - WC_Gateway_PPEC_Client::_process_response: acknowleged response body: Array
(
[TIMESTAMP] => 2020-06-05T20:33:45Z
[CORRELATIONID] => ca25e49242d8a
[ACK] => Failure
[VERSION] => 120.0
[BUILD] => 54596016
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Authentication/Authorization Failed
[L_LONGMESSAGE0] => You do not have permissions to make this API call
[L_SEVERITYCODE0] => Error
)
Please help!
It appears as though you need to set your API credentials (User/Password/Signature).
They can be obtained via https://www.paypal.com/api
I've seen that this question has been made Unsupported driver in laravel 4 when using laravel-oci8 package but the answere wasn't really usefull since the thread specify on https://github.com/yajra/laravel-oci8/issues/2 was resolved by just installing Oracle instant client and I already have it istalled.
I am trying to integrate oracle DB with laravel 5 app using yajra/laravel-oci8 package, I have folow the installation process and I have verified the specified requirements but with no success. When ever I try to run php artisan route:list or php artisan migrate it tells me that [InvalidArgumentException] Unsupported driver [oracle].
My Config/database.php is the following
...
'default' => 'oracle',
...
'connections' => [
'oracle' => array(
'driver' => 'oracle',
'host' => env('DB_HOST', 'localhost'),
'port' => '1521',
'database' => 'xe',
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'AL32UTF8',
'prefix' => '',
),
...
]
Am I missing any other configuration?
UPDATE
For anybody crossing this question.
The problem back then was that I incorrectly added the service provider (Yajra\Oci8\Oci8ServiceProvider::class,) class in the config/app.php
this is my config:
'oracle' => [
'driver' => 'oracle',
'tns' => "(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = XE) (SID = XE)))",
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1521'),
'database' => env('DB_DATABASE', 'XE'),
'username' => env('DB_USERNAME', 'XEUSER'),
'password' => env('DB_PASSWORD', 'XEPASSWD'),
'charset' => env('DB_CHARSET', 'AL32UTF8'),
'prefix' => env('DB_PREFIX', ''),
'prefix_schema' => env('DB_SCHEMA_PREFIX', ''),
],
change your config :
'oracle' => [
'driver' => 'oci8',
'host' => 'localhost',
'port' => '1521',
'database' => 'oracle_ID',
'username' => 'username',
'password' => 'password',
'charset' => 'utf8',
'prefix' => '',
'prefix_schema' => '',
],
to check : take on your controller function
$data = DB::connection('oracle')->table('your_table')->take(1)->get();
var_dump($data);
it works for me
I integrated Mangopay plugin into my wordpress site for crowdfunding
After configuring it and when i try to purchase using mangopay interface i got these errors.
exception 'MangoPay\ResponseException' with message 'Bad request. One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.' in /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/restTool.inc:272
Stack trace:
#0 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/restTool.inc(126): MangoPay\RestTool->CheckResponseCode(Object(stdClass))
#1 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/restTool.inc(93): MangoPay\RestTool->RunRequest()
#2 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/apiBase.inc(157): MangoPay\RestTool->Request('/users/natural', 'POST', Array)
#3 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/apiUsers.inc(24): MangoPay\ApiBase->CreateObject('users_createnat...', Object(MangoPay\UserNatural))
#4 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/gateway/class-wm-fonctions-gateway.php(65): MangoPay\ApiUsers->Create(Object(MangoPay\UserNatural))
#5 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/gateway/class-wm-fonctions-gateway.php(43): WM_Fonction_Gateway::wm_create_mangopay_user(Object(WP_User))
#6 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/gateway/class-wm-woocommerce-gateway.php(104): WM_Fonction_Gateway::wm_get_mangopay_user(Object(WP_User))
#7 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(646): WM_Woocommerce_Gateway->process_payment(1804)
#8 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(369): WC_Checkout->process_checkout()
#9 [internal function]: WC_AJAX::checkout('')
#10 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-includes/plugin.php(496): call_user_func_array(Array, Array)
#11 /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-admin/admin-ajax.php(85): do_action('wp_ajax_woocomm...')
#12 {main}MangoPay\ResponseException Object
(
[_responseCodes:MangoPay\ResponseException:private] => Array
(
[200] => OK
[206] => PartialContent
[400] => Bad request
[401] => Unauthorized
[403] => Prohibition to use the method
[404] => Not found
[405] => Method not allowed
[413] => Request entity too large
[422] => Unprocessable entity
[500] => Internal server error
[501] => Not implemented
)
[_errorInfo:MangoPay\ResponseException:private] => MangoPay\Error Object
(
[Message] => One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.
[Errors] => stdClass Object
(
[AuthorId] => The AuthorId field is required.
)
)
[RequestUrl] => https://api.sandbox.mangopay.com/v2/rota90/payins/card/web/
[message:protected] => Bad request. One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.
[string:Exception:private] =>
[code:protected] => 400
[file:protected] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/restTool.inc
[line:protected] => 272
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/restTool.inc
[line] => 126
[function] => CheckResponseCode
[class] => MangoPay\RestTool
[type] => ->
[args] => Array
(
[0] => stdClass Object
(
[Message] => One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.
[Type] => param_error
[Id] => a3a12c22-1bc3-41ff-b92b-d923cd763e7f
[Date] => 1427279161
[errors] => stdClass Object
(
[AuthorId] => The AuthorId field is required.
)
)
)
)
[1] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/restTool.inc
[line] => 93
[function] => RunRequest
[class] => MangoPay\RestTool
[type] => ->
[args] => Array
(
)
)
[2] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/apiBase.inc
[line] => 157
[function] => Request
[class] => MangoPay\RestTool
[type] => ->
[args] => Array
(
[0] => /payins/card/web/
[1] => POST
[2] => Array
(
[CreditedWalletId] => 6183033
[CardType] => CB_VISA_MASTERCARD
[ReturnURL] => http://itsaboutmyafrica.com/checkout/order-received/1804?key=wc_order_551277ae9f920
[Culture] => TN
[SecureMode] => DEFAULT
[DebitedFunds] => Array
(
[Currency] => EUR
[Amount] => 46000
)
[Fees] => Array
(
[Currency] => EUR
[Amount] => 0
)
[Tag] => 1804
)
)
)
[3] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/mangoPaySDK/tools/apiPayIns.inc
[line] => 17
[function] => CreateObject
[class] => MangoPay\ApiBase
[type] => ->
[args] => Array
(
[0] => payins_card-web_create
[1] => MangoPay\PayIn Object
(
[CreditedWalletId] => 6183033
[PaymentType] => CARD
[PaymentDetails] => MangoPay\PayInPaymentDetailsCard Object
(
[CardType] => CB_VISA_MASTERCARD
[CardId] =>
)
[ExecutionType] => WEB
[ExecutionDetails] => MangoPay\PayInExecutionDetailsWeb Object
(
[RedirectURL] =>
[ReturnURL] => http://itsaboutmyafrica.com/checkout/order-received/1804?key=wc_order_551277ae9f920
[TemplateURL] =>
[Culture] => TN
[SecureMode] => DEFAULT
)
[AuthorId] =>
[CreditedUserId] =>
[DebitedFunds] => Array
(
[Currency] => EUR
[Amount] => 46000
)
[CreditedFunds] =>
[Fees] => Array
(
[Currency] => EUR
[Amount] => 0
)
[Status] =>
[ResultCode] =>
[ResultMessage] =>
[ExecutionDate] =>
[Type] =>
[Nature] =>
[Id] =>
[Tag] => 1804
[CreationDate] =>
)
[2] => \MangoPay\PayIn
)
)
[4] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/gateway/class-wm-fonctions-gateway.php
[line] => 129
[function] => Create
[class] => MangoPay\ApiPayIns
[type] => ->
[args] => Array
(
[0] => MangoPay\PayIn Object
(
[CreditedWalletId] => 6183033
[PaymentType] => CARD
[PaymentDetails] => MangoPay\PayInPaymentDetailsCard Object
(
[CardType] => CB_VISA_MASTERCARD
[CardId] =>
)
[ExecutionType] => WEB
[ExecutionDetails] => MangoPay\PayInExecutionDetailsWeb Object
(
[RedirectURL] =>
[ReturnURL] => http://itsaboutmyafrica.com/checkout/order-received/1804?key=wc_order_551277ae9f920
[TemplateURL] =>
[Culture] => TN
[SecureMode] => DEFAULT
)
[AuthorId] =>
[CreditedUserId] =>
[DebitedFunds] => Array
(
[Currency] => EUR
[Amount] => 46000
)
[CreditedFunds] =>
[Fees] => Array
(
[Currency] => EUR
[Amount] => 0
)
[Status] =>
[ResultCode] =>
[ResultMessage] =>
[ExecutionDate] =>
[Type] =>
[Nature] =>
[Id] =>
[Tag] => 1804
[CreationDate] =>
)
)
)
[5] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/wordpressmangopay/includes/gateway/class-wm-woocommerce-gateway.php
[line] => 152
[function] => wm_create_payin
[class] => WM_Fonction_Gateway
[type] => ::
[args] => Array
(
[0] =>
[1] => http://itsaboutmyafrica.com/checkout/order-received/1804?key=wc_order_551277ae9f920
[2] => 1804
)
)
[6] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/woocommerce/includes/class-wc-checkout.php
[line] => 646
[function] => process_payment
[class] => WM_Woocommerce_Gateway
[type] => ->
[args] => Array
(
[0] => 1804
)
)
[7] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-content/plugins/woocommerce/includes/class-wc-ajax.php
[line] => 369
[function] => process_checkout
[class] => WC_Checkout
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[function] => checkout
[class] => WC_AJAX
[type] => ::
[args] => Array
(
[0] =>
)
)
[9] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-includes/plugin.php
[line] => 496
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => WC_AJAX
[1] => checkout
)
[1] => Array
(
[0] =>
)
)
)
[10] => Array
(
[file] => /homepages/17/d555245609/htdocs/Itsaboutmyafrica/wp-admin/admin-ajax.php
[line] => 85
[function] => do_action
[args] => Array
(
[0] => wp_ajax_woocommerce_checkout
)
)
)
[previous:Exception:private] =>
[_code] => 400
)
I used mangopay wordpress plugin 1.0.5 with woocommerce 2.3 and ignitiondeck-crowdfunding
Could you please help me get rid from these errors?
Thanks in advance.
I was having this issue and it turns out that Address is missing. I added
$user->Address = null;
to solve this.