Jump to content
Server Maintenance This Week. ×

Plastic Auth Fail


This topic is 2916 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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 = thisUser
partner = PayPal
vendor = thisVendor123
password = thisPWD123
endpoint = https://pilot-payflowpro.paypal.com/

My script:

Set Variable [ $gatewayName; “Payflo Pro”]
Set Variable [ $gatewayResult ; CCSetGateway( $gatewayName )]
Set Variable [ $gatewayError; CCLastError ]
# CCLastError returns empty

Set 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 by BruceR
Link to comment
Share on other sites

This topic is 2916 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.