Developer's Guide
Table Of Contents
- Website Payments Pro Payflow Edition - Recurring Payments Developer’s Guide
- Preface
- Audience
- Where To Go For More Information
- Revision History
- Recurring Payments Overview
- Creating Recurring Payments Profiles
- Preparing to Create Recurring Payments Profiles
- Creating Profiles Through Your PayPal Account
- Creating Recurring Payments Profiles Programmatically
- Options for Creating a Recurring Payments Profile Programmatically
- Example: Creating a Recurring Payments Profile For Billing a Credit Card
- Example: Creating a Recurring Payments Profile For Billing a PayPal Account
- Deactivating and Reactivating Recurring Payments Profiles
- Canceling Recurring Payments Profiles
- Getting Recurring Payments Profile Details
- Billing the Outstanding Amount
- Updating Recurring Payments Profiles
- Recurring Payments Reference
- Index
Payflow Recurring Payments Developer’s Guide 37
Updating Recurring Payments Profiles
Updating Profiles Programmatically
Updating Profiles Programmatically
You can update profiles using the Payflow SDK. Table 7.1 lists the parameters you are
required to send in a request to update a profile. The ACTION value is always M.
Example of Updating Profiles
The following example Payflow parameter string is a request to update the shipping address
for profile ID number I-26F60651P9935932P. Updating the shipping address requires
providing values for each of the SHIPTO* parameters.
"USER=
SuperMerchant
&PWD=
SuperUserPassword
&PARTNER=
PayPal
&TRXTYPE=R
&TENDER=C
&ACTION=M
&SHIPTOFIRSTNAME=John
&SHIPTOMIDDLENAME=J
&SHIPTOLASTNAME=SMITH
&SHIPTOSTREET=1 Main St
&SHIPTOCITY=San Jose
&SHIPTOSTATE=CA
&SHIPTOCOUNTRY=US
&SHIPTOZIP=95155
&ORIGPROFILEID=I-26F60651P9935932P
&PROFILENAME=
JSmith
&EMAIL=jsmith01@example.com&
COMPANYNAME=PayPal"
The following is an example response to the request to update the profile.
RESULT=0
&RESPMSG=Approved
&RPREF=RRRF0A08BD4B
&PROFILEID=I-26F60651P9935932P
&CORRELATIONID=95d7b814512bb
T
ABLE 7.1 Parameters Required to Update Profiles
TRXTYPE The value R for recurring payments.
TENDER The value C for credit card or P for PayPal.
ACTION The value M for updating the profile.
ORIGPROFILEID Profile ID of the profile to update.