PDTHandler is Blank

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/21/2010 7:40:50 AM
Gravatar
Total Posts 13

PDTHandler is Blank

Operating System: Windows 2008 Server

Database: SQL Server 2008

mojoportal Version: 2.3.4.4

I was able to get my WebStore PayPal Standard to process an order and that order does appear as complete when the user views his User Account but the page that is displayed when PayPal returns is blank.

In Order Status: Order Status = Fulfillable (Not Fulfilled)

mojoportal PayPal Log: Request Type = IPN, Payment Status = Completed

What I want is to see the order when it returns from paypal and a confirmation email sent out and neither is happening.

Here is my configuration:

<!-- set to false for production use -->
<add key="Site1-PaymentGatewayUseTestMode" value="false"/>

<add key="Site1-PrimaryPaymentGateway" value="PayPalStandard"/>
<add key="Site1-PayPalUsePayPalStandard" value="true"/>

<add key="Site1-PayPalStandardProductionEmail" value="my PayPal email"/>
<add key="Site1-PayPalStandardProductionPDTId" value="Secure Merchant Account ID in PayPal"/>

<add key="Site1-ConfirmationEmailPlainTextTemplate" value="en-US-DefaultOrderConfirmationPlainTextEmailTemplate.config"/>
<add key="Site1-ConfirmationEmailSubjectTemplate" value="en-US-DefaultOrderConfirmationEmailSubjectTemplate.config"/>
<!-- these are used when the order has been receivedby PayPal or Google Checkout but paymet has not cleared yet -->
<add key="Site1-OrderReceivedEmailPlainTextTemplate" value="en-US-DefaultOrderReceivedPlainTextEmailTemplate.config"/>
<add key="Site1-OrderReceivedEmailSubjectTemplate" value="en-US-DefaultOrderReceivedEmailSubjectTemplate.config"/>

In PayPal:

AutoReturn is true, and PDT return url is:
http://mysite/Services/PayPalPDTHandler.aspx
IPN url is:
http://mysite/Services/PayPalIPNHandler.aspx

Any idea how to get this working?

6/21/2010 8:58:31 AM
Gravatar
Total Posts 18439

Re: PDTHandler is Blank

Hi,

PDT Id for Site1-PayPalStandardProductionPDTId is not the same thing as merchant id. You have to go into your paypal account under Website Payment Preferences and you have to enable PDT and you have to use the pdt identity token

You should alsonot override these like this:

<add key="Site1-ConfirmationEmailPlainTextTemplate" value="en-US-DefaultOrderConfirmationPlainTextEmailTemplate.config"/>
<add key="Site1-ConfirmationEmailSubjectTemplate" value="en-US-DefaultOrderConfirmationEmailSubjectTemplate.config"/>
<add key="Site1-OrderReceivedEmailPlainTextTemplate" value="en-US-DefaultOrderReceivedPlainTextEmailTemplate.config"/>
<add key="Site1-OrderReceivedEmailSubjectTemplate" value="en-US-DefaultOrderReceivedEmailSubjectTemplate.config"/>

none of those should have the en-US- in the value, though that is the name of the files on disk, it should not be specific in the value, instead it should be like this:

<add key="Site1-ConfirmationEmailPlainTextTemplate" value="DefaultOrderConfirmationPlainTextEmailTemplate.config"/>
<add key="Site1-ConfirmationEmailSubjectTemplate" value="DefaultOrderConfirmationEmailSubjectTemplate.config"/>
<add key="Site1-OrderReceivedEmailPlainTextTemplate" value="DefaultOrderReceivedPlainTextEmailTemplate.config"/>
<add key="Site1-OrderReceivedEmailSubjectTemplate" value="DefaultOrderReceivedEmailSubjectTemplate.config"/>

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.