bruceR Posted May 10, 2016 Posted May 10, 2016 (edited) Can't get Plastic to work. I have been provided with the following information by the person who set up the Payflo Pro account.I think there is some confusion about exactly how these terms should be used when running the script.Note that previously an authorization was run with valid result, with a result variable pnref containing the value as noted below.user, partner, vendor, password, endpoint(Values shown here are phony)user = thisUserpartner = PayPalvendor = thisVendor123password = thisPWD123endpoint = https://pilot-payflowpro.paypal.com/My script:Set Variable [ $gatewayName; “Payflo Pro”]Set Variable [ $gatewayResult ; CCSetGateway( $gatewayName )]Set Variable [ $gatewayError; CCLastError ]# CCLastError returns emptySet Variable[ $pnref; “B10P9B83DXYZ”]Set Variable[ $pwd; “thisPWD123”]Set Variable[ $vendor; “thisVendor123”]Set Variable [ $amount; 945];Set Variable [ $result ;CCProcessAuthorizedPayment($vendor ;$pwd; $pnref ;$amount)]Set Variable [ $cc_error; CCLastError ]RESULT$result is “ERROR”$cc_error is "com.prosc.commerce.gateway.PaymentAuthorizationException: User authentication failed" Edited May 10, 2016 by BruceR
Recommended Posts
This topic is 3187 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now