Spree 3 authorize.net feedback - spree

I'm running a rails 4.2.2 project with spree 3.0.3 and noticed that when a payment fails (in this case I'm in the CMS, logged in as an admin) I only get the "failed" label right next to the payment. I'd like to be able to somehow hijack whatever authorize.net sends as a feedback so I can show the right message to the admin user. Right now, there's no way that the admin can say why the transaction failed.
Any help will be appreciated.

I was able to fix it by using the log_entries table. It has the messages sent by authorize.net

Related

Simple checkout is not working in Authorize .net

I have created a item in the Authorize.net account and get the code which create the button on website. I have tested it with test mode and order placed successfully. But when I try to make a payment using live mode then at checkout page of Simple checkout it gives me error with following message :
Transaction Declined
The configuration with processor is invalid. Call Merchant Service Provider.
I have called to the Merchant Service Provider and they said that all okay from their side. Some configuration settings are not okay with you integration.
If somebody can help me to fix this issue.
Thanks
Gaurav
You'll need to contact Authorize.Net Customer Support to ensure your account is configured properly, call 877-447-3938.

Modified checkout form for a signed in user of Spree based application

Im new to using Spree . We are using Solidus which is a fork of Spree 2.4. I would like to customize the checkout flow in my application. For a signed in user we dont want to show the form for shipping address, billing address, contact information and payment information as we need to prepopulate those fields with the customers information that we have in our database.
I went through the checkout flow docs at https://guides.spreecommerce.org/developer/checkout.html, but still dont have any idea how i can achieve the above . Can someone please guide me as to how can i modify the checkout form to hide the shipping address, billing address, contact information and payment information for a signed in user ?
Thank You
You can easily replace or override views frontend with your own version. To generate frontend in your project
rails generate spree:frontend:copy_views
The checkout views should be in this folder
YOUR_APP/app/views/spree/checkout
The views are coded with ruby erb.

Sitecore WeBlog Module Issue

We are using version 2.2.1 of Sitecore WeBlog module and are experiencing the following intermittent, but frequent, issue when website visitors try to post a Comment on a Blog posting:
On correctly filling in the Name, Email, Comment and Captcha form fields, then clicking the Post button, the form remains completed and displays the message “Processing… please wait for a few seconds”.
After about 30 seconds the message “Processing… please wait for a few seconds” disappears and leaves the completed form displayed; no Comment is added to the Sitecore workflow.
Sometimes the Comment system works fine after about 10 to 15 seconds of displaying the “Processing… please wait for a few seconds” it then clears the form fields and displays a “Thank You” message and the Comment is successfully added into Sitecore workflow.
The web site and dedicated web server is not under heavy load and the rest of the website is very fast when we observe this issue.
We have not experienced this issue on our development version of the website.
1) Have you seen this issue before and can you suggest how we can resolve it?
2) For successful Comment posts, we’d be interested in understanding how we can speed up the post process so that the message “Processing… please wait for a few seconds” is displayed only very briefly, if at all, as some visitors are clicking the Post button multiple times whist this is displayed resulting in 2 or 3 identical Comments appearing in the Sitecore workflow. This successful Comment post process is near instantaneous on our development version of the website.
Thanks in advance.
Looks like there was a bug in version 2.2.1 of Sitecore WeBlog module. It worked perfectly when I upgrade it to the next version.

Orders are not displaying in admin on Opencart (authorize.net & v1.5.5.1)

My team and I are trying to finalize an e-commerce build and we've run into a snag with our order processing on Opencart v1.5.5.1.
We're currently using authoize.net as our payment gateway. The orders are being processed (reflected on both the test credit card and the authorize.net transaction gateway)
However, when the order is placed it automatically is sent to the 'missing orders' variable under orders rather than your normal 'pending' status.
We can go in and manually change over the orders, but that's not going to fly with the client. The goal is to have these automatically display as 'pending'. Apparently, this is a common problem with opencart and authorize.net (see http://forum.opencart.com/viewtopic.php?f=20&t=79388&p=347416#p347416) but their suggested solution isn't doing the trick.
Has anyone else encountered this problem for Opencart 1.5.5.1 and how did you get around it?
I guess the problem is within the configuration of the authorize.net payment gateway. Did You set the order status within administration of the authorize.net payment gateway correctly?
Default status is Canceled (which is weird) so set it to Pending. After the payment was successfully processed this order status is used (see catalog/controller/payment/authorize_aim.php at lines 136-166).
I've had the same error for a while now. I re-uploaded the following files and it worked for me.
Sounds like your file needs updating in
CODE: SELECT ALL
catalog/controller/account/login.php
And I would also upload a fresh
CODE: SELECT ALL
catalog/model/account/customer.php
This is actually a very easy fix. All you need to do is goto your settings of your OpenCart Authorize.net mod and enter a MD5 Hash. Copy that go to authorize.net account click on settings next to where you find get API transaction key there is a link to update MD5 Hash. Click on that; paste the MD5 hash you copied from opencart and save.
You could manually add the statuses back in System/Localisation/Order Statuses.

django-registration with paypal integration

I'm trying to figure out how to integrate django-registration with django-paypal. Being a Django n00b, I'm trying to figure out how to implement a flow like this:
User signs up using django-registation with 'active' flag set to 0
After registering, send user to PayPal for a subscription
When they come back from PayPal successfully, I want to set 'active' to 1
I've been looking at the django-registration documentation and don't quite understand how to use different backends or implement a flow the way I want.
Any tips on how to accomplish this would be greatly appreciated. django-paypal won't be a problem for me as I've done PayPal integration before (in PHP for a self-published book about CakePHP).
To have registration not send an email you pass send_email=False to the RegistrationManager.create_inactive_user call in your view to register a user. After you create the user, you probably want to create a landing page with the paypal buttons for payment. Instruct the user to click a payment button to pay. Generally I send the user.id in the custom field for the payment button.
Then, in django-paypal, use the IPN signal handlers to activate the user based on the user.id in the custom field of the IPN query. You might want to send a modified registration email at this point, welcoming the user to your site and telling them you have received payment and have activated their account, but those are details for you to define.