5006 : Unable to redirect to Vendors web site. The Vendor failed to provide a RedirectionURL. - PHP Inframe integration - opayo

Hoping someone can help me.
I'm working on the Server Inframe integration and I can get the iframe to load with the inputs for the card details, but when you click to continue i get the following error:
5006 : Unable to redirect to Vendors web site. The Vendor failed to provide a RedirectionURL.
My notification URL is:
https://" . $_SERVER[HTTP_HOST] . "/index.php?route=payment/sagepay_inframe/notificationURL
and in that function I have
header("Content-type: text/plain");
echo 'Status=OK' . chr(13) . chr(10) . 'RedirectURL=https://example/url' . chr(13) . chr(10);
I've tried using ngrok to make my localhost accessible but nothing seems to work. Can anyone advise if I'm doing this correctly or if I'm missing something? Really pulling my hair out with this one.
Thanks.

The callback process won't work on localhost. Your NotificationURL (that you supply in the registration post) must be accessible to the internet.....

Related

Laravel - Can't download file from storage at Ubuntu server with Nginx

So I'm testing that a Laravel app that I just deployed to an Ubuntu server with Nginx works correctly, and I reached a point where I need to download some files that were upload from the front end using Angular.
I can upload files with no problem and I made sure that those are actually in the server and yeah, they are saved as expected.
However when I need to download them I get the error: "Failed to create the file"
It worked on my local machine, so I'm guessing is kind of a configuration problem but I'm not sure what to change yet.
The file is being requested through a GET request with Http with the header: { responseType: ResponseContentType.Blob }, the latter being part of Angular.
And in Laravel this is how I'm returning the file:
public function download($activityId) {
$activity = $activity = Activity::find($activityId, ['student_id', 'file_storage']);
$file = public_path() . '/storage/activityFiles/' . $activity['student_id'] . '/' . $activity['file_storage'];
return response()->download($file);
}
What can I be missing?
I decided to take a look at the laravel logs to see a little further the problem.
The problem was that I forgot to create the symbolic link to the storage.
That fixed the issue.

Url make an error in codeigniter

I am using codeigniter ,Client try to take the site using http://www.example.com , It shows "Disallowed character error ".But No issues in my browser, the error only shows in client's system.
I got some answer , but it not working for me.
Ref Link : http://wejn.com/blog/2014/10/hunting-down-the-codeigniter-disallowed-key-characters-error/
http://stackoverflow.com/questions/4197976/codeigniter-disallowed-key-characters
Anyone please help me.
Make sure you have added the disallowed charters into your $config['permitted_uri_chars'] it could be that you are missing few charters a-z 0-9~%\.\:_\-&=$
First: copy this$config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-&=$'; into your config.php
Second: Stop and Start local host if on xampp or wamp / lamp etc refresh page.

"404 - An error has occurred. Component not found" error while i select my component from menu in joomla 2.5

I have a custom component contactList to show list of contacts from DB . This works fine and list gets displayed in localhost when i call index.php?option=com_componentList . But now i uploaded the project to the live server . In live server I am getting this 404 error . Other built in components are working perfectly . What could be the reason ? Thanks in advance .

Exception during cache and session cleaning while installing- Zopin live chat extensions in megento

when i am trying to install Zopim live chat megento extension, i am receiving "Exception during cache and session cleaning". but installed successfully. After installtion with this above error, i tried to open site, its shows "The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later." 503 error. Please help me how to resolve this problem.
Thanks
Bala
The error you're seeing means Magento is displaying its default HTTP ERROR 503 page. This could be happening for a number of reasons, but most likely it's because the install process (you didn't mention if it was Magento Connect standard, or if it was something else custom) left the maintenance.flag file in the site root. Remove this file from the root of your site, and things should be back to normal.
$ cd /path/to/magento/root
$ rm maintenance.flag
Prototype.js is missing in the Iframe header of the "console".
Just edit /downloader/Maged/Connect.php and find
var response = transport.responseJSON || transport.responseText.JSONeval(true) || {};
replace it with
var response = transport.responseJSON || JSON.parse(transport.responseText) || {};
:-)

"Server Error" when users try to create a new account - Magento 1.7

I'm setting up our Magento 1.7 store, hoping to be ready for launch soon. I've noticed a problem:
When users try to create a new account, they fill out their info on /customer/account/create page just fine, then when they click submit, they get this 500 Error:
The website encountered an error while retrieving
http://example.com/customer/account/createpost/.
the account is actually created, however.
Similar deal on when users submit their email on the Forgot Password page, they press submit and get this:
The website encountered an error while retrieving
http://example.com/customer/account/forgotpasswordpost/.
no email is sent.
If you see this and know how to help with this prob, your advice would be much appreciated, truly.
In case it helps, we are using a theme, rather than default.
EDIT - (I was asked if I had checked server error)
My server errors show as this, for the above situations:
Forgot Password submit shows this error:
Fatal error: Call to undefined method Mandrill_API::addTo() in
D:\Magento\app\code\core\Mage\Core\Model\Email\Template.php on line
438
and
Create Account submit shows this error:
Fatal error: Call to undefined method Mandrill_API::addTo() in
D:\Magento\app\code\core\Mage\Core\Model\Email\Template.php on line
438
as well.
Here is 6 lines(437-442) of that Template.php file:
foreach ($emails as $key => $email) {
$mail->addTo($email, '=?utf-8?B?' . base64_encode($names[$key]) . '?=');
}
$this->setUseAbsoluteLinks(true);
$text = $this->getProcessedTemplate($variables, true);
[UPDATE]
I've learned that when I enter a random, fake email for Forgot Password, and press submit, a confirmation appears, saying something like "If this email exists, then a new email was sent to that email!", but when I submit an email of a real existing customer, then it gives me the 500 error I've mentioned.
Still nothing - if anyone out there sees this, and you have a bit of time to help solve this perhaps, may Talos bless you!
[SOLVED]
I turns out this was a problem with transaction emails.
Cause by an extension, Mandrill, which is added to magento when I installed the MailChimp extension, called "MageMonkey - MailChimp Integration by ebizmarts"
Once I enabled Mandrill, in config, advanced, all transactions and transaction emails work perfectly fine!
It's possible that it's a .htaccess or server configuration problem. Where is it hosted? Do you have a .htaccess file in the root of the installation?

Resources