PayPal Website Payments Pro - 2010 - Recurring Payments Payflow Edition Guide de l'utilisateur Page 37

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 66
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 36
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.
Vue de la page 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 65 66

Commentaires sur ces manuels

Pas de commentaire