From 5dff09991eff58be66c199bfd186bc96df614573 Mon Sep 17 00:00:00 2001 From: Andrew Penhorwood Date: Tue, 25 Jun 2013 10:25:45 -0400 Subject: [PATCH] New version of the payflow test suite. Now the configuration is in payflowLibrary.cfc. The other component will get the info from the library. --- .../paypal/payflow/test/payflowLibrary.cfc | 410 ++++++++++++++++++ .../paypal/payflow/test/payflowTest.cfc | 352 ++------------- .../payflow/test/payflowTestBasicAccess.cfc | 100 +++++ api/gateway/paypal/payflow/test/readme.txt | 8 + 4 files changed, 566 insertions(+), 304 deletions(-) create mode 100644 api/gateway/paypal/payflow/test/payflowLibrary.cfc create mode 100644 api/gateway/paypal/payflow/test/payflowTestBasicAccess.cfc create mode 100644 api/gateway/paypal/payflow/test/readme.txt diff --git a/api/gateway/paypal/payflow/test/payflowLibrary.cfc b/api/gateway/paypal/payflow/test/payflowLibrary.cfc new file mode 100644 index 0000000..c60b2ed --- /dev/null +++ b/api/gateway/paypal/payflow/test/payflowLibrary.cfc @@ -0,0 +1,410 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/gateway/paypal/payflow/test/payflowTest.cfc b/api/gateway/paypal/payflow/test/payflowTest.cfc index 40133e4..4612af5 100644 --- a/api/gateway/paypal/payflow/test/payflowTest.cfc +++ b/api/gateway/paypal/payflow/test/payflowTest.cfc @@ -29,15 +29,8 @@ created = "06/22/2013"> - - - - - - - - + @@ -49,19 +42,17 @@ - - - - + + + + - - - + - - + + - + - + @@ -193,10 +199,10 @@ - - + + - + @@ -233,10 +239,10 @@ - - + + - + @@ -269,10 +275,10 @@ - - + + - + @@ -310,10 +316,10 @@ - - + + - + @@ -331,266 +337,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/api/gateway/paypal/payflow/test/payflowTestBasicAccess.cfc b/api/gateway/paypal/payflow/test/payflowTestBasicAccess.cfc new file mode 100644 index 0000000..cf31f1a --- /dev/null +++ b/api/gateway/paypal/payflow/test/payflowTestBasicAccess.cfc @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/gateway/paypal/payflow/test/readme.txt b/api/gateway/paypal/payflow/test/readme.txt new file mode 100644 index 0000000..0ae8d1a --- /dev/null +++ b/api/gateway/paypal/payflow/test/readme.txt @@ -0,0 +1,8 @@ +You must configure your paypal credentials in payflowLibrary.cfc init method. This is the only place you will need to change any of the values. + +Log into Paypal manager - > Account Administration - > Manager Users + +This page will allow you to see all of the users on that account. The role for the API user but we API_FULL_TRANSACTION. If you don't have +a user with that role then you will need to create one back clicking on the "Add User" link. + +Paypal requires you to setup a API user for the gateway. \ No newline at end of file