Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

Yep, that helps a lot. It's probably be a good idea to update to the latest version of the module. A lot of improvements have been made since I created that module for you. All you should need to update is the payment module itself, so it shouldn't be too hard. Just follow the update instructions in the readme file.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

I get the following error -

 

An error occured when we tried to contact PayPal's servers.

 

Field format error: 10736-A match of the Shipping Address City, State, and Postal Code failed.

 

If I try clicking pay with paypal at the shopping_cart.php page then it takes me to the paypal site successfully.

 

The problem is if I click the pay with paypal button after clicking checkout and logging in, at the checkout_payment.php page it produces that error.

 

I would appreciate if someone can help me please I'm stuck here :(

 

Thanks

Edited by rjckicks1
Link to comment
Share on other sites

Also, when using express checkout and the e-mail address associated with the customer in our database is not matching the email address they have at paypal, it comes back with this:

 

Please select a payment method for your order.

Fast, Secure Checkout with PayPal

 

You're currently checking out with PayPal Express Checkout!

 

Click Here to choose another payment method.

 

comments

continue

 

 

is there any possible way to allow it to pass through mismatched email addresses? I don't understand the point to this error since they have to login to paypal using their paypal username and password anyways.

 

Thanks!

Link to comment
Share on other sites

@ollyno1uk2:

1) Download the latest version of the contribution and unzip the file to your computer.

 

2) Go into your Admin -> Modules -> Payment and click on PayPal Direct Payment.

 

3) Write down all of the module information so that you can quickly set it back up.

 

4) Click "Remove" to uninstall the module.

 

5) Go into the contribution you just downloaded: (paypal_wpp/catalog/includes/modules/payment) and upload the "paypal_wpp.php file to your web server in the same place (/includes/modules/payment/) overwriting the other one.

 

6) Then in the contribution go to: paypal_wpp/catalog/includes/languages/english/modules/payment/ and upload the file "paypal_wpp.php to your web server at: /includes/languages/english/modules/payment/

 

6) Return to the admin and click the "Install" button to install the module

 

7) Reconfigure with your previous settings and click "Save." That should be it.

 

 

@rjckicks1: You're using PayPal's version of the module, so you should contact them for support.

 

@cricex: The error dump "In function: ec_step1()" doesn't tell me anything. Is that all you receive? Regarding your second post, I don't see the error. If you see the message that you posted, it means it's working.

 

@kellystee: Yes, Express Checkout works like IPN where the customer is taken to PayPal to pay with their PayPal account. The main advantage is that it doesn't have the orphaned/missing order problem that IPN does. If you only want to use Express Checkout and not Direct Payment (which costs $20/month), AlexStudio maintains an Express Checkout contribution that will work for anyone with a business account.

Edited by dynamoeffects

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Hi Brian thanks for the help I have done this but am getting errors - hopefully I have xxxxx all sensitive info.

 

In function: before_process() - Direct Payment
Did first contact attempt return error? Yes 
---------------------------------------------------------------------
-------------------------------DP_DUMP-------------------------------
------------This is the information that was sent to PayPal----------
---------------------------------------------------------------------
[?xml version="1.0" encoding="utf-8"?]
[soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"]
 [soap:Header]
[RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"]
  [Credentials xmlns="urn:ebay:apis:eBLBaseComponents"]
	[Username]sales_axxxxxxxxxxxx[/Username]
	[Password]Dxxxxxxxxxxxxx[/Password]
	[Subject][/Subject]
  [/Credentials]
[/RequesterCredentials]
 [/soap:Header]
 [soap:Body]
[DoDirectPaymentReq xmlns="urn:ebay:api:PayPalAPI"]
  [DoDirectPaymentRequest]
	[Version xmlns="urn:ebay:apis:eBLBaseComponents"]2.0[/Version]
	[DoDirectPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"]
	  [PaymentAction]Authorization[/PaymentAction]
	  [PaymentDetails]
		[OrderTotal currencyID="GBP"]13.56[/OrderTotal]
		[OrderDescription]Order placed on September 7, 2007, 1:41 pm by Olly xxxx (ID: 311)[/OrderDescription]
		[ItemTotal currencyID="GBP"]8.61[/ItemTotal]
		[ShippingTotal currencyID="GBP"]4.95[/ShippingTotal]
		[HandlingTotal currencyID="GBP"][/HandlingTotal]
		[TaxTotal currencyID="GBP"]0[/TaxTotal]
		[Custom]Phone: 01xxxxxxxxxxxxx -- Email: olliexxxxxxxxxxxk[/Custom]
		[InvoiceID][/InvoiceID]
		[NotifyURL][/NotifyURL]
		[ButtonSource][/ButtonSource]
		[ShipToAddress]
		  [Name]Olly Fxxxxxxxxxxxxx[/Name]
		  [Street1]5 Oxxxxxxxxxxxxx[/Street1]
		  [Street2][/Street2]
		  [CityName]Wxxxxxxxxxxxxx[/CityName] 
		  [StateOrProvince]Dxxxxxxxxxxxxxx[/StateOrProvince]
		  [PostalCode]Bxxxxxxxxxx[/PostalCode]
		  [Country]GB[/Country]
		[/ShipToAddress]
		[PaymentDetailsItem][Name]Kingston DataTraveler Mini Migo Edition[/Name][Amount currencyID="GBP"]8.61[/Amount][Number]19666 (DTM/1GB)[/Number][Quantity]1[/Quantity][/PaymentDetailsItem]
	  [/PaymentDetails]
	  [CreditCard]
		[CardOwner]
		  [Payer]olliexxxxxxxxxxxx[/Payer]
		  [PayerName]
		  [FirstName]Olly[/FirstName]
		  [LastName]Fxxxxxxxxx[/LastName]
		  [/PayerName]
		  [Address]
			[Street1]5 Oxxxxxxxxx[/Street1]
			[Street2][/Street2]
			[CityName]Wxxxxxxxxx[/CityName] 
			[StateOrProvince]Dxxxxxxxxxxt[/StateOrProvince]
			[PostalCode]Bxxxxxxxx[/PostalCode]
			[Country]GB[/Country]
		  [/Address]
		[/CardOwner]
		[CreditCardType]Switch[/CreditCardType]
		[CreditCardNumber]xxxxxxxxxxxxxxxx593[/CreditCardNumber]
		[ExpMonth]06[/ExpMonth]
		[ExpYear]2010[/ExpYear]
		[StartMonth][/StartMonth]
		[StartYear][/StartYear]
		[IssueNumber]PAYPAL_CC_ISSUENUMBER[/IssueNumber]
		[CVV2]192[/CVV2]
	  [/CreditCard]
	  [IPAddress]xxxxxxxxxxx[/IPAddress]
	  [MerchantSessionId]af7c9d0d48a6ed7539fbxxxxxxxd[/MerchantSessionId]
	[/DoDirectPaymentRequestDetails]
  [/DoDirectPaymentRequest]
[/DoDirectPaymentReq]
 [/soap:Body]
[/soap:Envelope]---------------------------------------------------------------------
-------------------------------FINAL_REQ-----------------------------
-------------------This is the response from PayPal------------------
---------------------------------------------------------------------
Array
(
[Security] => 
[RequesterCredentials] => Array
	(
		[0] => Array
			(
				[Credentials] => Array
					(
						[0] => Array
							(
								[Username] => 
								[Password] => 
								[Subject] => 
							)

					)

			)

	)

[DoDirectPaymentResponse] => Array
	(
		[0] => Array
			(
				[Timestamp] => 2007-09-07T12:42:00Z
				[Ack] => Failure
				[CorrelationID] => bbfc0640a1d42
				[Errors] => Array
					(
						[0] => Array
							(
								[ShortMessage] => Invalid Data
								[LongMessage] => The issue number of the credit card is invalid.
								[ErrorCode] => 10560
								[SeverityCode] => Error
							)

					)

				[Version] => 2.000000
				[Build] => 1.0006
			)

	)

)


---------------------------------------------------------------------
---------------------------------TS_REQ------------------------------
--------Results of the transaction search if it was executed---------
---------------------------------------------------------------------

Edited by ollyno1uk2
Link to comment
Share on other sites

incidentally just before I updated I had another failure on my old version

 

In function: before_process() - Direct Payment
Did first contact attempt return error? Yes 
---------------------------------------------------------------------
-------------------------------DP_DUMP-------------------------------
------------This is the information that was sent to PayPal----------
---------------------------------------------------------------------
---------------------------------------------------------------------
-------------------------------FINAL_REQ-----------------------------
-------------------This is the response from PayPal------------------
---------------------------------------------------------------------
Array
(
[Security] => 
[RequesterCredentials] => Array
	(
		[0] => Array
			(
				[Credentials] => Array
					(
						[0] => Array
							(
								[Username] => 
								[Password] => 
								[Subject] => 
							)

					)

			)

	)

[DoDirectPaymentResponse] => Array
	(
		[0] => Array
			(
				[Timestamp] => 2007-09-07T12:18:23Z
				[Ack] => FailureWithWarning
				[CorrelationID] => 1b4664473d894
				[Errors] => Array
					(
						[0] => Array
							(
								[ShortMessage] => Currency Not Supported for Card Type.
								[LongMessage] => Your processor is unable to process the Card Type in the currency requested.  Please try another card type.
								[ErrorCode] => 10558
								[SeverityCode] => Error
							)

						[1] => Array
							(
								[ShortMessage] => Transaction refused because of an invalid argument.  See additional error messages for details.
								[LongMessage] => Item amount is invalid.
								[ErrorCode] => 10431
								[SeverityCode] => Warning
							)

					)

				[Version] => 2.000000
				[Build] => 1.0006
			)

	)

)


---------------------------------------------------------------------
---------------------------------TS_REQ------------------------------
--------Results of the transaction search if it was executed---------
---------------------------------------------------------------------

Link to comment
Share on other sites

Oh no! I completely forgot, you will also need to update the XML files in /includes/wpp_xml/ with the ones in the contribution. That should fix the original "Issue number is invalid" error.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Thanks so much Brian - I have just carried out a transaction with my switch card and it went through ok. I will have to just monitor with other peoples transactions.

 

Is it ok to leave teh debug on all the time? Then I guess I will know if there are any errors right?

 

Finally - I noticed that since I have changed the module, the credit card fields remember my card number that I previously tried. Im not sure if this is anything that can be stopped within the coding as I guess its a security risk if there are several people using the same PC? May be nothing but though I'd mention it.

 

Thanks once again

Link to comment
Share on other sites

@cricex: The error dump "In function: ec_step1()" doesn't tell me anything. Is that all you receive? Regarding your second post, I don't see the error. If you see the message that you posted, it means it's working.

 

1) Correct - it doesnt happen often but we've gotten a few that the error is just "ec_step1()" and that's it. Just as I pasted into the thread.

 

2) The error is that that is all it does. Here is the process of events:

 

1. Go to the site, add items to car, hit checkout.

2. Select shipping, get to payment page. Not using a credit card, so I click the PayPal button to check out via paypal.

3. Redirected to PayPal.com, login.

4. Brought to the "Review your Information" screen, hit continue.

5. brought back to the site, where the following message shows up:

 

Fast, Secure Checkout with PayPal

 

Click Here to choose another payment method.

 

comments

continue

 

6. Hit continue.

7. Brought back to the same page, but with the following error message (I know it's an error message because it says in the address bar: error_message=Please+select+a+payment+method+for+your+order.) :

 

 

Fast, Secure Checkout with PayPal

 

Please select a payment method for your order.

You're currently checking out with PayPal Express Checkout!

 

Click Here to choose another payment method.

 

comments

continue

 

8. Hit continue again, brought back to the same page/error.

 

This only happens when (from what I can tell from my experimenting trying to replicate the error) the email address in my store's database differs from the email address associated with the paypal account. I do not care if they are two different email addresses since they have to login to paypal anyways. Where can I tell it to ignore that error and go ahead and process the order?

 

Thanks

Edited by cricex
Link to comment
Share on other sites

Hi

 

I have received another error:

 

 

I have only provided teh second part of the email I received.

 

Thanks

 

 

---------------------------FINAL_REQ-----------------------------
-------------------This is the response from PayPal------------------
---------------------------------------------------------------------
Array
(
[Security] => 
[RequesterCredentials] => Array
	(
		[0] => Array
			(
				[Credentials] => Array
					(
						[0] => Array
							(
								[Username] => 
								[Password] => 
								[Subject] => 
							)

					)

			)

	)

[DoDirectPaymentResponse] => Array
	(
		[0] => Array
			(
				[Timestamp] => 2007-09-08T18:25:27Z
				[Ack] => Failure
				[CorrelationID] => 8f9b2a9c6973e
				[Errors] => Array
					(
						[0] => Array
							(
								[ShortMessage] => Processor Decline
								[LongMessage] => This transaction cannot be processed.
								[ErrorCode] => 15005
								[SeverityCode] => Error
								[ErrorParameters] => Array
									(
										[0] => Array
											(
												[Value] => 0060
											)

									)

							)

					)

				[Version] => 2.000000
				[Build] => 1.0006
				[Amount] => 87.47
				[AVSCode] => N
				[CVV2Code] => M
			)

	)

)


---------------------------------------------------------------------
---------------------------------TS_REQ------------------------------
--------Results of the transaction search if it was executed---------
---------------------------------------------------------------------

Link to comment
Share on other sites

i've got the official contribution from paypal and its installed, i can input the card info at the checkout_payment screen but when i click the paypal button this page comes up;

 

 

Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /home/u6/mazda3online/html/includes/application_top.php on line 30

 

Fatal error: main() [function.require]: Failed opening required 'includes/configure.php' (include_path='.:/usr/local/share/pear') in /home/u6/mazda3online/html/includes/application_top.php on line 30

 

If i click "continue" at the bottom it takes me back a step. any ideas how to fix this?

Link to comment
Share on other sites

@cricex: Thanks for the detailed bug report, I've added it to my TODO. For now turn off the Express Checkout button on the payment page as a temporary fix.

 

@ollyno1uk2: That error means that the data was sent correctly, but the card was declined by the issuing bank. The customer should contact their bank to figure out what's going on.

 

@captainkrm: PayPal's version of the module is not supported here. You should contact PayPal for help regarding their version.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Thanks again. I do suspect this person is trying to fraudulently buy something as he has tried on numerous occasions with numerous different cards.

 

I have just had another error dump which is strange. It contains only:

In function: ec_step1()

 

 

Is there a way I can learn what the error codes may mean so I do not have to keep troubling you?

 

Many thanks

Edited by ollyno1uk2
Link to comment
Share on other sites

@cricex: Thanks for the detailed bug report, I've added it to my TODO. For now turn off the Express Checkout button on the payment page as a temporary fix.

 

Isn't that the only way they can check out via paypal (not using a credit card, but their paypal account) ? I can't really turn off paypal as a payment method since it's somewhat popular.. Is there anyway I can just have it ignore the fact that email addresses don't match up?

 

Thanks!

Link to comment
Share on other sites

Hello, everyone.

 

I am having a problem that has a solution that exists somewhere in this topic, but I can't for the life of me seem to find it. So I'm hoping someone can point me in the right direction. This seems to be a new problem (for me), and it looks like others are now experiencing it, too? Here's my deal.

 

When a customer users PayPal Express Checkout, they are taken to the payPal page where they log in, then the page where they confirm their information. When they click the Continue button from that page, they are returned to my site, only they are taken back to the shipping selection page. Then they have to go through the entire process again.

 

I'm not sure if I have a misconfiguration somewhere, but if anyone can help me find the postings in this topic where that was covered (at least I seem to remember seeing them before) I sure would appreciate it.

 

Thanks again.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

@ollyno1uk2: I'm aware of the issue. It's the same that cricex reported above.

 

@cricex: Depends if the contribution was fully installed or not. If it was fully installed, there should be an Express Checkout button on both the shopping cart and checkout_shipping pages.

 

@Schadeboy: That's either by design or an error -- it's tough to tell by your description. By design, once the customer comes back from PayPal they are sent to the checkout_shipping.php page. The reason is because at PayPal's site they have the choice of choosing a different shipping address, and so they are returned to that page to recalculate shipping. I've been intending to smooth out that process since 0.6, and I have it added to my todo for the next version.

 

If the customer is going in an endless loop and can't checkout, then that's an error.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Hi! I don´t know if anyone has this same problem, I couldn't find it. The thing is that the text of some of the configuration options do not appear, like the "payment action" text, but others like the "API Username" do.

 

Hope there's a solution to this.

 

Thanks

Link to comment
Share on other sites

Did you have PayPal's version installed then install mine? If so you typically need to uninstall mine and reinstall it in the admin. (Click "Remove" then "Install")

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

@Schadeboy: That's either by design or an error -- it's tough to tell by your description. By design, once the customer comes back from PayPal they are sent to the checkout_shipping.php page. The reason is because at PayPal's site they have the choice of choosing a different shipping address, and so they are returned to that page to recalculate shipping. I've been intending to smooth out that process since 0.6, and I have it added to my todo for the next version.

 

If the customer is going in an endless loop and can't checkout, then that's an error.

 

Okay, I'm not sure what happened, but now things seem to be working properly. Maybe it's just that my brain is made of tuna phlegm? I don't know. Thanks for your help!

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...