House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  New York ColdFusion Users Group (NYCFUG)

ColdFusion and PayPal SOAP API

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

CF and PayPal SOAP API

Hello ladies and gentlemen. sclairmont 08/15/2007 05:27 PM

08/15/2007 05:27 PM
Author: sclairmont Short Link: http://www.houseoffusion.com/groups/nycfug/thread.cfm/threadid:1431#4482 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", "com.paypal.soap.api.PaymentDetailsItemType");             pdi.setName("hello world");             pdi.setNumber("1");             pdi.setQuantity(JavaCast("int", 1));             pdi.setAmount(orderTotal); 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. Thank you!
<< Previous Thread Today's Threads Next Thread >>

Search nycfug

June 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference