
Submitting Credit Card Transactions
Submitting Reference Transactions (Tokenization)
6
78 07 January 2014 Gateway Developer Guide and Reference
3. Submit a new sale transaction or an authorization and delayed capture transaction of $34
for the rest of the shipment.
When you ship the remainder of the product, you can collect the remaining $34 in a sale
transaction that uses the initial authorization as a reference transaction. (This is a sale
transaction, because Payflow allows only one delayed capture transaction per
authorization.)
The following is a sale transaction request:
TRXTYPE=S&TENDER=C&PWD=x1y2z3&PARTNER=PayPal&VENDOR=SuperMerchant
&USER=SuperMerchant&ORIGID=VXYZ01234567&AMT=34.00
The following is the response:
RESULT=0&PNREF=VXYZ01234569&AUTHCODE=25TEST&AVSADDR=Y&AVSZIP=N
NOTE: If the original transaction was processed by the PayPal processor, pass either the
PPREF or PNREF of the original transaction in the ORIGID parameter. Also, if the
original transaction was created using Express Checkout or a Billing Agreement,
set the
TENDER parameter to TENDER=P.
Data Upload - Storing Credit Card Data on the Gateway Server
To facilitate creating reference transactions while assisting you with PCI compliance, PayPal
allows you to upload credit card data by submitting an upload transaction (TRXTYPE=L). At
minimum, you must pass values for the following parameters:
TRXTYPE
TENDER
ACCT
EXPDATE
This is an example upload transaction request:
TRXTYPE=L&TENDER=C&ACCT=5105105105105100&EXPDATE=1215&BILLTOFIRSTNAME=Ted&B
ILLTOLASTNAME=Smith&BILLTOSTREET=123&BILLTOCITY=SanJose&BILLTOSTATE=CA&BILL
TOZIP=12345&BILLTOPHONENUM=123-123-1234
This is the response:
RESULT=0&PNREF=v19A2E710FCF&RESPMSG=Approved&TRANSTIME=2011-11-02 16:53:58
You can send shipping and billing information to be stored, but you must not include the AMT
field. If you pass a value for AMT, you will receive an error with RESULT=4 and
RESPMSG=Invalid Amount.
NOTE: PayPal does not verify the credit card data, as it is not sent to the banks for processing.
To validate a transaction, you must submit an account verification, also known as a
Kommentare zu diesen Handbüchern