i using paypal ruby sdk in order process credit cards via rest api. working fine perspective of credit card processing. credit cards processed without kind of issues.
unfortunately, when preform csv export of transactions on sandbox (or live) merchant paypal account, "item title" field not populated , cannot see description field used anywhere.
request paypal:
request[post]: https://api.sandbox.paypal.com/v1/payments/payment request.body={ "intent":"sale", "payer":{ "payment_method":"credit_card", "funding_instruments":[{ "credit_card":{ "number":"xxxxxxxxxxxxxxxx", "type":"visa", "expire_month":10, "expire_year":2020, "first_name":"first name", "last_name":"last name" } }] }, "transactions":[{ "amount":{ "currency":"usd", "total":"1" }, "description":"this item description", "item_list":{ "items":[{ "quantity":"1", "name":"this item description", "price":"1", "currency":"usd", "sku":"this item description" }] } }] }
within successful paypal response getting of these data including fields populated "this item description".
my question is, parameter need provide api call in order populate "item title" field within transactions csv export?
what purpose of "description" field within api request , field used on paypal side (showed) after process payment credit card?
edited
tried php sdk (just sure not issue specific sdk). @ end seems question "is there field used part of rest api corresponds 'item title' column within paypal export?"
indeed answer pp_pduan answers on initial bounty question (related specific report). adding update related specific report , other reports well.
for credit card processing can use following api's on paypal side:
- rest api
- dodirect payment api (pro 3.0)
- payflow gateway api (pro 1.5-2.0)
as per discussion paypal side , quite detailed research, not possible populate item name of reports using rest api. credit card processing (in order avoid issues in general reporting systems) suggest go dodirect payment api if have pro accounts. seems specific api "older" rest api credit card processing hence more stable , not have kind of issues reporting system.
having in mind dodirect payment api have weird documentation (at least me not covered properly) suggest check following php repository working solution (examples).
Comments
Post a Comment