PayPal Gateway - 2013 Podręcznik Użytkownika Strona 77

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 256
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 76
Gateway Developer Guide and Reference 07 February 2013 77
Submitting Credit Card Transactions
Submitting Sale Transactions
6
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
zero dollar authorization (TRXTYPE=A). For details, see “Submitting Account
Verifications” on page 62.
Submitting Sale Transactions
The sale transaction (TRXTYPE=S) charges the specified amount against the account, and
marks the transaction for immediate fund transfer during the next settlement period. PayPal
submits each merchant’s transactions for settlement on a daily basis.
NOTE: PayPal Payments Advanced and Payflow Link users cannot submit sale transactions
unless they obtain the Payflow SDK.
When To Use a Sale Transaction
A sale transaction is best suited to businesses that provide immediate fulfillment for their
products or services. If your business does not provide immediate fulfillment, credit card
association rules recommend that you use an authorization and a delayed capture transaction.
For details, see “Submitting Authorization/Delayed Capture Transactions” on page 63. To
recharge a credit card when you are not storing the credit card information in your local
database, you can perform a new reference transaction based on a Sale transaction.
Additional Parameters For Sale Transactions
To perform a sale transaction, pass the following parameters:
ACCT
AMT
EXPDATE
Przeglądanie stron 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 255 256

Komentarze do niniejszej Instrukcji

Brak uwag