Hello ladies and gentlemen.
It's been a while since I have posted on the cfug mailing list, but I
need help from people who actually read the questions and answer what is
asked. So here's my problem:
I'm using ColdFusion MX7 and trying to integrate PayPal Web Payments
Pro, via SOAP API. Most of it works, but as it's lacking adequate
documentation (for my tastes at least), I'm running into an issue with
the line item receipt option.
I'm trying to use setPaymentDetailsItem, which requires a
PaymentDetailsItemType. I instantiate a java object with
pdi = CreateObject("java",
I am constantly told "The selected method setQuantity was not found.
Either there are no methods with the specified method name and argument
types, or the method setQuantity is overloaded with arguments types that
ColdFusion can't decipher reliably. If this is a Java object and you
verified that the method exists, you may need to use the javacast
function to reduce ambiguity."
doing a CFDUMP shows the method exists. It expects a BigInt, but it
should take an Int.
I've rebooted the server, thinking it may be on of CFs famous code
caching errors, but no luck.
Does anyone have an example of how to use the PaymentDetailsItemType in
ColdFusion? The simpler, the better.