|
|
|
Joined: 6/24/2014
Posts: 7
|
|
|
Hi,
I'm trying to use PayPal Website Payments Pro and have setup the Gateway. When I try to check out to test this, I get a critical error. The event viewer log is:
PortalID:6
PortalName: myportalname
UserID:-1
UserName:
ActiveTabID:421
ActiveTabName:Shop
RawURL:/Shop/tabid/421/ctl/Step2/mid/1320/Default.aspx
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:http://mydomain.com.au/Shop/tabid/421/ctl/Step2/mid/1320/Default.aspx
UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; ASU2JS; rv:11.0) like Gecko
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:40aa34fc-aa76-4539-9924-7afd27d748b8
InnerException:Object reference not set to an instance of an object.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:Smith.DNN.Modules.BuyNow.Step2.ibNext_Click
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Smith.DNN.Modules.BuyNow.Step2.ibNext_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
However, when I tried to use Standard Paypal, it works well.
I don't think it has anything to do with the 'Full Trust', As I further tested the the 'Manual' payment gateway,and the same error popup.
I am using a clean install of Trial Smith cart 6.52.0.
Most of the settings are default.
No Payment method is setup,
Please help!
Wayne
.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Wayne,
Did you go thru the Setup Wizard?
Please confirm that you have configured the following screens:
- Shipping Setup
- Tax Setup
- Payment Zone Setup
- Payment Method Setup
Thanks!
|
|
|
|
| |
|
|
|
Joined: 6/24/2014
Posts: 7
|
|
|
Hi Kevin,
I went thru the setup wizard.
1. I chose Free Shipping
2. No Tax
3. Payment Zone is setup.
4. I dont want to use any payment method other than Paypal website Pro, So I chose Credit Card in the wizard and deactivated it.
It works fine when I switched to standard Paypal. So, I guess the settings are all right.
Any clue you can get from the error message?
Thanks
|
|
|
|
| |
|
|
|
Joined: 7/28/2009
Posts: 1452
|
|
|
Hi, I believe the error is because you dont have any payment methods active. In order to complete checkout you need to have at least one payment method active (i.e. Credit Card) even if you are using "Manual" gateway.
Let me know if you have any other questions.
At your service,
Dave Smith
|
|
|
|
| |
|
|
|
Joined: 6/24/2014
Posts: 7
|
|
|
Hi Dave,
Thank you for your help. You found the reason.
When I add Cash as a payment method the error's gone.
But, it is not exact what I want. I still couldn't manage to setup Paypal Website Pro.
I don't want to deal with and payment method like cash or credit card. I want this shop to support Paypal website Pro or Payflow Pro Only. As in Paypal clients can pay either by their Palpal account or by credit card.
I thought Paypal Website Pro works similar to Paypal website standard.
When I use Cash(or even without any payment method) paypal website standard work fine, the page redirect to paypal page successfully.
But when I switched to Paypal Website Pro with Cash method (as I mentioned before, I do not want to use Credit Card , I chose cash only to let the module work), and the order was confirmed after clicking the submit order button without shown anything with paypal.
Is there a way to achieve that? Making the shop work with Paypal website Pro or Payflow Pro Only.
Thanks
Wayne
|
|
|
|
| |
|
|
|
Joined: 7/28/2009
Posts: 1452
|
|
|
If you are using any of the PayPal gateways (Standard, Pro, PayFlow) its required that you have setup an active "Credit Card" payment method. PayPal Pro and PayPal PayFlow will not work with only the Cash payment method active.
Hope this helps!
At your service,
Dave Smith
|
|
|
|
| |
|
|
|
Joined: 6/24/2014
Posts: 7
|
|
|
Hi Dave,
Thanks again for your help.
I think I followed the instructions in the gateway guide to set up Paypal website Pro and added log4net.dll to the bin folder
Afterwards I activated the Credit Card Payment method.
But I've got another message in the confirmation step.
We couldn't complete your payment.
Status : failure
Message : Processor Decline
It was not one of these fatal errors that can be seen in the event view, so I don't have much information to give.
If it is because the website is not in 'Full trust' ? Do I need SSL set up to proceed the payment? Or I did incorrectly set up the module?
Wayne
|
|
|
|
| |
|
|
|
Joined: 7/28/2009
Posts: 1452
|
|
|
Hi, It looks like you have everything setup correct in the cart. The message you are receiving is a valid decline message from the payment gateway. Are you using a live account or test account?
Here are a few things you can check to try to resolve the decline you are getting:
- Are you using a valid test or live credit card? - Is your website configured for full trust? - Make sure you have a valid SSL installed on your site.
Hope this helps!
At your service,
Dave Smith
|
|
|
|