Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

Since this is an isolated incident, I'd say this is more than likely a conflict with another contribution modifying the order total. What else do you have installed?

 

I have nothing else installed. The only contribution I've added so far is this one. I posted the same text in the paypal dev forums but have yet to get a reply.

 

After more testing:

 

Direct Payment

I am now getting declined cards (using generated paypal developer cards, the card listed in your readme file and even my own card). I have set declined cards to YES so I receive the e-mail w/ the total it was supposed to charge (still says $0.00). I will turn this to No once I'm up and running, but I think I should pick up a PHP book soon haha.

 

Express:

I am bypassing the bank account withdrawl and added a credit card as the main funding source. My credit card still gets declined and it shows an error. The error is shown when I am kicked back into the shipping choices page.

Error Your credit card was declined. Please try another card or contact your bank for more info.

No response from the payment processor
No response was received from the payment processor. Please contact the store owner for assistance.

 

When using the bank account, I am returned to shipping, continue to confirm the order and get the same error as above.

Link to comment
Share on other sites

Error Your credit card was declined. Please try another card or contact your bank for more info.

No response from the payment processor
No response was received from the payment processor. Please contact the store owner for assistance.

 

This often occurs because you didn't fix the timeout in the Pear module. Brian says in the README.htm file that he has changed the timeout, but the file currently at Pear Modules - Part 2 has the default timeout of 4 seconds. To fix this, open /catalog/pear/Services/PayPal/SOAP/Transport/HTTP.php in a text editor and make the following change at line 62:

 

var $timeout = 4;

 

to

 

var $timeout = 300;

 

That should fix the "no response" problem.

 

--Glen

Link to comment
Share on other sites

var $timeout = 4;

to

var $timeout = 300;

 

That should fix the "no response" problem.

--Glen

 

That was one of my first tries to fix that. No changes occured after that.

 

Thanks for suggesting though.

Link to comment
Share on other sites

Are you using GoDaddy?

 

We're on www.iPower.com

 

Here's the error dumps:

[Note: Sandbox test]

Express Checkout:

 

In function: before_process() - Express Checkout
Did first contact attempt return error? Nope 
doexpresscheckoutpaymentresponsetype Object
(
[DoExpressCheckoutPaymentResponseDetails] => doexpresscheckoutpaymentresponsedetailstype Object
	(
		[_elements] => Array
			(
				[Token] => Array
					(
						[required] => 1
						[type] => ExpressCheckoutTokenType
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

				[PaymentInfo] => Array
					(
						[required] => 1
						[type] => PaymentInfoType
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

			)

		[_attributes] => Array
			(
			)

		[_attributeValues] => Array
			(
			)

		[_namespace] => urn:ebay:apis:eBLBaseComponents
		[Token] => 
		[PaymentInfo] => paymentinfotype Object
			(
				[_elements] => Array
					(
						[TransactionID] => Array
							(
								[required] => 1
								[type] => 
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[ParentTransactionID] => Array
							(
								[required] => 
								[type] => TransactionId
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[ReceiptID] => Array
							(
								[required] => 
								[type] => 
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[TransactionType] => Array
							(
								[required] => 1
								[type] => PaymentTransactionCodeType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[PaymentType] => Array
							(
								[required] => 
								[type] => PaymentCodeType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[PaymentDate] => Array
							(
								[required] => 1
								[type] => dateTime
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[GrossAmount] => Array
							(
								[required] => 1
								[type] => BasicAmountType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[FeeAmount] => Array
							(
								[required] => 
								[type] => BasicAmountType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[SettleAmount] => Array
							(
								[required] => 
								[type] => BasicAmountType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[TaxAmount] => Array
							(
								[required] => 
								[type] => BasicAmountType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[ExchangeRate] => Array
							(
								[required] => 
								[type] => string
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[PaymentStatus] => Array
							(
								[required] => 1
								[type] => PaymentStatusCodeType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[PendingReason] => Array
							(
								[required] => 
								[type] => PendingStatusCodeType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

						[ReasonCode] => Array
							(
								[required] => 
								[type] => ReversalReasonCodeType
								[namespace] => urn:ebay:apis:eBLBaseComponents
							)

					)

				[_attributes] => Array
					(
					)

				[_attributeValues] => Array
					(
					)

				[_namespace] => urn:ebay:apis:eBLBaseComponents
				[TransactionID] => 
				[ParentTransactionID] => 
				[ReceiptID] => 
				[TransactionType] => none
				[PaymentType] => none
				[PaymentDate] => 
				[GrossAmount] => 
				[FeeAmount] => 
				[SettleAmount] => 
				[TaxAmount] => 
				[ExchangeRate] => 
				[PaymentStatus] => None
				[PendingReason] => none
				[ReasonCode] => none
			)

	)

[_elements] => Array
	(
		[Timestamp] => Array
			(
				[required] => 
				[type] => dateTime
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

		[Ack] => Array
			(
				[required] => 1
				[type] => AckCodeType
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

		[CorrelationID] => Array
			(
				[required] => 
				[type] => string
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

		[Errors] => Array
			(
				[required] => 
				[type] => ErrorType
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

		[Version] => Array
			(
				[required] => 1
				[type] => string
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

		[Build] => Array
			(
				[required] => 1
				[type] => string
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

		[DoExpressCheckoutPaymentResponseDetails] => Array
			(
				[required] => 1
				[type] => DoExpressCheckoutPaymentResponseDetailsType
				[namespace] => urn:ebay:apis:eBLBaseComponents
				[charset] => iso-8859-1
			)

	)

[_attributes] => Array
	(
	)

[_attributeValues] => Array
	(
	)

[_namespace] => urn:ebay:api:PayPalAPI
[Timestamp] => 2006-05-18T14:40:32Z
[Ack] => Failure
[CorrelationID] => 80bac8db7ec6c
[Errors] => errortype Object
	(
		[_elements] => Array
			(
				[ShortMessage] => Array
					(
						[required] => 1
						[type] => string
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

				[LongMessage] => Array
					(
						[required] => 
						[type] => string
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

				[ErrorCode] => Array
					(
						[required] => 1
						[type] => token
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

				[SeverityCode] => Array
					(
						[required] => 1
						[type] => SeverityCodeType
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

				[ErrorParameters] => Array
					(
						[required] => 
						[type] => ErrorParameterType
						[namespace] => urn:ebay:apis:eBLBaseComponents
					)

			)

		[_attributes] => Array
			(
			)

		[_attributeValues] => Array
			(
			)

		[_namespace] => urn:ebay:apis:eBLBaseComponents
		[ShortMessage] => Transaction cannot complete.
		[LongMessage] => The transaction cannot complete successfully.  Instruct the customer to use an alternative payment method.
		[ErrorCode] => 10417
		[SeverityCode] => Error
		[ErrorParameters] => 
	)

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

 

Direct Payment:

 

In function: before_process() - Direct Payment

Did first contact attempt return error? Yes

---------------------------------------------------------------------

-------------------------------DP_DUMP-------------------------------

------------This is the information that was sent to PayPal----------

---------------------------------------------------------------------

dodirectpaymentrequesttype Object

(

[DoDirectPaymentRequestDetails] => dodirectpaymentrequestdetailstype Object

(

[_elements] => Array

(

[PaymentAction] => Array

(

[required] => 1

[type] => PaymentActionCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[PaymentDetails] => Array

(

[required] => 1

[type] => PaymentDetailsType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CreditCard] => Array

(

[required] => 1

[type] => CreditCardDetailsType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[IPAddress] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[MerchantSessionId] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[PaymentAction] => Sale

[PaymentDetails] => paymentdetailstype Object

(

[_elements] => Array

(

[OrderTotal] => Array

(

[required] => 1

[type] => BasicAmountType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[ItemTotal] => Array

(

[required] =>

[type] => BasicAmountType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[ShippingTotal] => Array

(

[required] =>

[type] => BasicAmountType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[HandlingTotal] => Array

(

[required] =>

[type] => BasicAmountType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[TaxTotal] => Array

(

[required] =>

[type] => BasicAmountType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[OrderDescription] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[Custom] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InvoiceID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[ButtonSource] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[NotifyURL] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[ShipToAddress] => Array

(

[required] =>

[type] => AddressType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[PaymentDetailsItem] => Array

(

[required] =>

[type] => PaymentDetailsItemType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[OrderTotal] => basicamounttype Object

(

[_elements] => Array

(

)

 

[_attributes] => Array

(

[currencyID] => Array

(

[name] => currencyID

[type] => ebl:CurrencyCodeType

[use] => required

)

 

)

 

[_attributeValues] => Array

(

[currencyID] => USD

)

 

[_namespace] => urn:ebay:apis:CoreComponentTypes

[_value] => 248.48

[_charset] => iso-8859-1

)

 

[ItemTotal] =>

[ShippingTotal] =>

[HandlingTotal] =>

[TaxTotal] =>

[OrderDescription] =>

[Custom] =>

[InvoiceID] =>

[ButtonSource] =>

[NotifyURL] =>

[ShipToAddress] => addresstype Object

(

[_elements] => Array

(

[Name] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Street1] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Street2] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CityName] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[StateOrProvince] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Country] => Array

(

[required] =>

[type] =>

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CountryName] => Array

(

[required] =>

[type] =>

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[Phone] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[PostalCode] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[AddressID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[AddressOwner] => Array

(

[required] =>

[type] => AddressOwnerCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[ExternalAddressID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InternationalName] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InternationalStateAndCity] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InternationalStreet] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[AddressStatus] => Array

(

[required] =>

[type] => AddressStatusCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[Name] => Jeff Chang

[Street1] => 123 fake street

[Street2] =>

[CityName] => Monterey Park

[StateOrProvince] => CA

[Country] => US

[CountryName] =>

[Phone] =>

[PostalCode] => 91755

[AddressID] =>

[AddressOwner] =>

[ExternalAddressID] =>

[InternationalName] =>

[InternationalStateAndCity] =>

[InternationalStreet] =>

[AddressStatus] =>

)

 

[PaymentDetailsItem] =>

)

 

[CreditCard] => creditcarddetailstype Object

(

[_elements] => Array

(

[CreditCardType] => Array

(

[required] => 1

[type] => CreditCardTypeType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CreditCardNumber] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[ExpMonth] => Array

(

[required] => 1

[type] => int

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[ExpYear] => Array

(

[required] => 1

[type] => int

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CardOwner] => Array

(

[required] => 1

[type] => PayerInfoType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CVV2] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[CreditCardType] => Visa

[CreditCardNumber] => 4282947241631228

[ExpMonth] => 12

[ExpYear] => 2009

[CardOwner] => payerinfotype Object

(

[_elements] => Array

(

[Payer] => Array

(

[required] => 1

[type] => EmailAddressType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[PayerID] => Array

(

[required] => 1

[type] => UserIDType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[PayerStatus] => Array

(

[required] => 1

[type] => PayPalUserStatusCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[PayerName] => Array

(

[required] => 1

[type] => PersonNameType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[PayerCountry] => Array

(

[required] => 1

[type] => CountryCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[PayerBusiness] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[Address] => Array

(

[required] =>

[type] => AddressType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[Payer] => [email protected]

[PayerID] =>

[PayerStatus] =>

[PayerName] => personnametype Object

(

[_elements] => Array

(

[Salutation] => Array

(

[required] =>

[type] => SalutationType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[FirstName] => Array

(

[required] =>

[type] => NameType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[MiddleName] => Array

(

[required] =>

[type] => NameType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[LastName] => Array

(

[required] =>

[type] => NameType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Suffix] => Array

(

[required] =>

[type] => SuffixType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[Salutation] =>

[FirstName] => Jeff

[MiddleName] =>

[LastName] => Chang

[Suffix] =>

)

 

[PayerCountry] =>

[PayerBusiness] =>

[Address] => addresstype Object

(

[_elements] => Array

(

[Name] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[Street1] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Street2] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CityName] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[StateOrProvince] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Country] => Array

(

[required] =>

[type] =>

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CountryName] => Array

(

[required] =>

[type] =>

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[Phone] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[PostalCode] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[AddressID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[AddressOwner] => Array

(

[required] =>

[type] => AddressOwnerCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[ExternalAddressID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InternationalName] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InternationalStateAndCity] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[InternationalStreet] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[AddressStatus] => Array

(

[required] =>

[type] => AddressStatusCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:apis:eBLBaseComponents

[Name] =>

[Street1] => 123 fake street

[Street2] =>

[CityName] => Monterey Park

[StateOrProvince] => CA

[Country] => US

[CountryName] =>

[Phone] =>

[PostalCode] => 91755

[AddressID] =>

[AddressOwner] =>

[ExternalAddressID] =>

[InternationalName] =>

[InternationalStateAndCity] =>

[InternationalStreet] =>

[AddressStatus] =>

)

 

)

 

[CVV2] => 000

)

 

[IPAddress] => *****EDITEDOUT*****

[MerchantSessionId] =>

)

 

[_elements] => Array

(

[DetailLevel] => Array

(

[required] =>

[type] => DetailLevelCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[ErrorLanguage] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[MessageID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

)

 

[Version] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[DoDirectPaymentRequestDetails] => Array

(

[required] => 1

[type] => DoDirectPaymentRequestDetailsType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

)

 

[_attributes] => Array

(

)

 

[_attributeValues] => Array

(

)

 

[_namespace] => urn:ebay:api:PayPalAPI

[DetailLevel] =>

[ErrorLanguage] =>

[MessageID] =>

[Version] => 2.0

)

---------------------------------------------------------------------

-------------------------------FINAL_REQ-----------------------------

-------------------This is the response from PayPal------------------

---------------------------------------------------------------------

dodirectpaymentresponsetype Object

(

[Amount] =>

[AVSCode] =>

[CVV2Code] =>

[TransactionID] =>

[_elements] => Array

(

[Timestamp] => Array

(

[required] =>

[type] => dateTime

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Ack] => Array

(

[required] => 1

[type] => AckCodeType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[CorrelationID] => Array

(

[required] =>

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Errors] => Array

(

[required] =>

[type] => ErrorType

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Version] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Build] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:apis:eBLBaseComponents

[charset] => iso-8859-1

)

 

[Amount] => Array

(

[required] => 1

[type] => BasicAmountType

[namespace] => urn:ebay:api:PayPalAPI

)

 

[AVSCode] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:api:PayPalAPI

)

 

[CVV2Code] => Array

(

[required] => 1

[type] => string

[namespace] => urn:ebay:api:PayPalAPI

)

 

[TransactionID] => Array

(

[required] => 1

Link to comment
Share on other sites

For Express, it seems that the values in the paymentInfo object isn't showing up. They seem to be null.

 

For DP, it seems that the value already includes tax and shipping, so that's not an issue. It just seems that is related to the billing agreement acceptance.

 

Since Express doesn't require the billing agreement to take payment, I see a problem there. I am clicking EC at the shipping screen (did I add the code to the wrong php file?). After doing the Paypal dance, I'm sent back to the shipping screen to complete the transaction. The error returns after I hit "CONFIRM". The only thing I can think up regarding this would be that the EC button is placed incorrectly (on my part).

 

I'll run a few live tests later today to see if it's just the sandbox that's screwing me.

 

Thanks everyone,

J

Link to comment
Share on other sites

(Population and GDP (purchasing power parity) numbers from the CIA World Factbook.)

There may be some errors, given that some areas are listed separately in the World Factbook, but the population banks in a PayPal approved country.

--Glen

 

Wow - thanks Glen that is *exactly* what I needed to know. Looks like I'll be going ahead with the mod - wish me luck!

 

Thanks again.

 

Simon

Link to comment
Share on other sites

I'm having a problem with the express checkout. During the checkout procedure, when I click on the express checkout button, I get the following error:

 

Fatal error: Call to undefined function: ec_step1() in {path_excluded}/catalog/ec_process.php on line 26

 

The offending code looks like this:

 

if (tep_paypal_wpp_enabled()) {

$payment_modules = new payment('paypal_wpp');

 

if(!tep_session_is_registered('paypal_ec_token')) {

$payment_modules->ec_step1(); <---- This line

} else {

$payment_modules->ec_step2();

}

}

 

Any clue what's going on? The rest of the module (i.e. Direct Payments) works great!

Link to comment
Share on other sites

Just wanted to say thank you to dynamoeffects for the contribution.

 

I got the testing phase to work out. It confused me a bit at first; I entered my regular PayPal ID and later found out that I should've entered a fictional one, but I ended up taking care of that.

 

I do have a few questions:

 

1) What do I put in for the "IPN Notification URL" in the module admin?

 

2) As long as everything goes right in the Sandbox testing phase, it should be okay for live correct?

 

Thank you in advance.

Edited by goosed
Link to comment
Share on other sites

I do have a few questions:

 

1) What do I put in for the "IPN Notification URL" in the module admin?

 

Goosed,

That configuration setting is not part of this contribution. You appear to have installed pbreit's PayPal WPP contribution, which is found here: http://www.oscommerce.com/community/contributions,3716. You can find support (such as it is, as Patrick hasn't posted in the osCommerce forums since last November) for it at http://www.oscommerce.com/forums/index.php?showtopic=178712.

 

The contribution described in this topic can be found at http://www.oscommerce.com/community/contributions,3647. It is supported by the author and an active community of users.

 

--Glen

Link to comment
Share on other sites

I posted this problem somewhere else and I probably shouldn't have. i did everthing the installation asked, it was beautiful. I am using a modified template for oscommerce, and it is the newest version of oscommerce. I have a very bad feeling my very nice looking template isn't compatible with the installation of paypal wpp. I hope I am wrong. I modified all of the files with the added codes between //---PayPal WPP Modification START ---//

//---PayPal WPP Modification END ---// (are you suppose to add the //---PayPal WPP Modification END ---// stuff or just the code between it?) accept for one my modified template is totally difffernt with, and that is the header.php. I still added all of the code that I could to the header.php file.

 

Although I am still getting no modification for the "they'll be taken to the login page where there are now three boxes. They can either use express pay, create an account, or login. If they use express pay" I do not see this, and every file was modified perfeclty accept the header.php. Now a really big question I have is: WITHOUT ALL OR ANY OF THE MODIFICATIONS WILL THE PAYPAL WPP STILL WORK?? If I just added the core files like the paypal_wpp.php and the english files, would paypal wpp still work?

 

Okay so anyway this is what is happening after moding all the files, getting my user, pass, and certificate from paypal, I install everything, the template works great I get to the part with the enter your credit card info and then i have the button for express checkout (that kinda works by the way sometimes it goes directly to paypal and then sometimes it goes to the checkout_shipping.php page, its 50 50.) so I enter the test credit info in and it takes me to the confirmation page where the tax is added and you see the total of the order, and when i click the pay button to go to the next step it hesitates for about 2 seconds and then i go right back to the page where I enter the credit card info in, but now all the info i entered is blank, and thats it, no orders show up anywhere not in paypal, not in my admin page or anything. So I dont know what is going on it seems like everything is working and then this.

 

Yes my server supports cURL.

 

Well any help and knowledge is apreciated, I'll wait for while and if I dont figure it out I will unistall it all and start fresh again, maybe I am suppose to go in certain steps or something, I dont know. Oh yeah i get "NO ERRORS" whatsoever. Thanks for reading.

Link to comment
Share on other sites

I posted this problem somewhere else and I probably shouldn't have. i did everthing the installation asked, it was beautiful. I am using a modified template for oscommerce, and it is the newest version of oscommerce. I have a very bad feeling my very nice looking template isn't compatible with the installation of paypal wpp. I hope I am wrong. I modified all of the files with the added codes between //---PayPal WPP Modification START ---//

//---PayPal WPP Modification END ---// (are you suppose to add the //---PayPal WPP Modification END ---// stuff or just the code between it?) accept for one my modified template is totally difffernt with, and that is the header.php. I still added all of the code that I could to the header.php file.

 

The //---PayPal WPP Modification START---// is a comment. If you copy it into your file, it will help you see the places that were modified, but php doesn't care whether the comments are present or not. It will work the same either way.

 

Note that some of the files are modified in more than one place, so you have to apply all the modified blocks of code to your files. Another user missed this point when he first installed this contribution. When he applied all the changed blocks, it worked as expected.

 

--Glen

Link to comment
Share on other sites

PayPal WPP Direct Payments & Express Checkout - look and feel on check out page.

 

On the checkout page in oscommerce, the radio buttons are on the right side of the payment options. Does anyone know how to move them to the left...so that the user will see the radio button before the payment option?

 

I have tried and tried and can't figure this one out.

 

thanks,

Al

Link to comment
Share on other sites

So do you think that is the reason for it not working?, and you're probably right. Do you have to mod. all the files to get Paypal WPP to work correctly? Thanks for the reply.

 

You have to apply every modified block in every file that is supplied with the WPP module. If you were running a stock osC, you could simply replace the files. To find all the code to change, either use a file compare utility or search for "WPP" in the files from this contribution.

 

--Glen

Link to comment
Share on other sites

PayPal WPP Direct Payments & Express Checkout - look and feel on check out page.

 

On the checkout page in oscommerce, the radio buttons are on the right side of the payment options. Does anyone know how to move them to the left...so that the user will see the radio button before the payment option?

 

I have tried and tried and can't figure this one out.

 

thanks,

Al

 

I used this contribution to move my buttons to the left. http://www.oscommerce.com/community/contributions,3526

 

There is another one that lets you select either side as a configuration option, but I haven't tried it.

 

--Glen

Link to comment
Share on other sites

OK, we installed the WPP module and set-up the SSL - all of that works fine. BUT now when after entering the CC information and clicking continue .. we get the confirmation page and when we click submit it gets hung up for quite a few moments and then it loads the checkout_process.php as a blank screen ... no order shows up in OS commerce, no $$ in paypal and no debit on the credit card. I have all of the API information set-up as Paypal gave it to us and I'm not sure where to go from there? Help?

Link to comment
Share on other sites

I have this module installed, and everything was working great in sandbox mode. This morning, I turned on the WPP in my live paypal account, downloaded the cert and changed my username, password, and live/sandbox setting in the admin. I tried to purchase a product for $.01 to test it out. The purchase went through successful for both direct payment and EC. The order shows up in the admin, however the funds were not received in my paypal account, nor were they withdrawn from my CC or EC paypal account. Does anyone have any ideas???

 

Chris

Link to comment
Share on other sites

I am having some difficulty with my installation of this module. I keep getting following error:

 

Your credit card was declined. Please try another card or contact your bank for more info.

 

Invalid Data (10527)

This transaction cannot be processed. Please enter a valid credit card number and type.

 

I have the latest version of OSC and the wpp module installed. I do have another payment module installed, (pay together with next order) but that does not seem to affect it. I have tested in both sandbox and live modes with test credit card info. and actual valid cards, but it always returns this response.

 

Please help!

Link to comment
Share on other sites

I'm having difficulty getting an API certificate for my Sandbox business account for use with Express Checkout.

 

All the guides I've looked at for this procedure tell me to log into the sandbox account and navigate to Profile-> API Access -> Request API Certificate

 

However, I only see Request API Credentials (not certificate). When I download my credentials, I get a username password and signature, but I cannot, for the life of me, see how to get a certificate. When I look under certificates in my Developer Central Account, I see none.

 

Perhaps someone can help! I presume I need a certificate to get Express Checout working using this contrib.

 

Finally, what should I set the following configuration items to?

- PayPal BN

- IPN Notification URL

 

Many thanks in advance,

 

Jody

Link to comment
Share on other sites

Update: Found out how to get the cert. I'd already requested credentials and had selected: ''API Signature'' rather than ''API SSL client-side certificate''. So I had to remove my credentails and then had the option to request a certificate.

 

I'd still like to know what I should fill in for the following two configuration items, though:

 

- PayPal BN

- IPN Notification URL

 

Many thanks in advance (again),

 

Jody

Link to comment
Share on other sites

OK - I've got Express Checkout working on Sandbox, but when I am sent to paypal to enter my account details and confirm, it sends me back to the Shipping page of my site. This means the flow for an order is:

 

Checkout -> Shipping -> Payment Information (select Paypal Express Checkout) -> Confirm Order -> Paypal Login -> Paypal Review Payment -> Shipping -> Payment Information (Paypal Selected) -> Confirm Order -> Finished

 

This is very cumbersome. Is it the intended functionality, that after leaving paypal, you are taken back to the shipping page?

 

Any help would be appreciated.

 

Many thanks,

 

Jody

Link to comment
Share on other sites

Thank you for this great module!!

In testing, when I get to ec_process.php I get the following error:

Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:/php/includes:/usr/share/php:/home/virtual/site26/fst/var/www/html/catalog/pear/') in /home/virtual/site26/fst/var/www/html/catalog/pear/Services/PayPal.php on line 11

I checked and the file is not there. Where can I find PEAR.php for download?

Thank you so much!!

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...