Thursday 15 August 2013

PayPal Adaptive - Buyer Name? -


Is it possible to get the first and last name of the buyer in an IPN call after a PA transaction? I try to use Pecky to set "needShippingAddressSelection" to the right to set a pay type for "create" from a simple chained pay call and then to retrieve an address from the "Settlement Option" API Is of Neither have the work done. The only information I received about the buyer is their email address "Sender_email" and the amount paid, no matter how I can call

I have also tried the "getShippingAddresses" API And there is no luck at all. I did not find anything specific in Docs Here is a sample IPN response, I have taken ridiculous bits like redirect URLs: transaction: '0': .is_primary_receiver: 'true' .id_for_sender_txn: TXN_CODE Receiver: RECEIVER_EMAIL. Registration: USD 10.00 .status: complete .ID: TRANS_ID .status_for_sender_txn: completed. Payment Type: SERVICE .pending_reason: No '1':. Payment Type: SERVICE .id_for_sender_txn: TXN_CODE .is_primary_receiver: 'false' .status_for_sender_txn: complete. Receiver: RECEIVER_EMAIL. Number: USD 10.00 Pending_Rezan: None .ID: TRANS_ID .State: Completed log_default_shipping_address_in_transaction: 'Incorrect' action_type: Characters: windows-1252 Transactions_type: Adaptive Payment Notify Payment: UNEprevrier Sender_Email: SENDER_EMAIL Fees_Pair: reverse_all_prepel_payments_HereCare_Operation: 'incorrect' Pay_key: 'Paya_Kenny' status: fully test_ipn: '1'

and to call:

  pay_request = PaypalAdaptive :: Request.new data = {"ReturnUrl" = & gt; "", "Request envelope" => {"Error language" = & gt; "" "", "Zodiac" = & gt; " 10.00 "}," currency "=}," currency code "=> USD "," Receiver List "= & gt; {" Receiver "=> [{" Email "=> ===========} Pay_response = pay_request .pay (data) // Other proceedings: Here's an attempt to grab the pecke and set up payment options with another request call, but if pay_response.success did not work either? Redirect_to pay_response.preapproval_paypal_payment_url and puts pay_response.errors.first ['message'] redirect_to fail_payment_url end   

I thought maybe this line is getting - & gt; Log_default_shipping_address_in_transaction: To set 'wrong' to correct I'll get a name, but I can not change it by lying even if I try. Is there any idea about what is happening to anyone, and is it possible to use the name of the buyer's name in the PayPal adapter? I'm missing something very simple ... thanks!

Only one information for the sender of this type of transaction can be sent to sender_email value

Here is a link to our IPN guide, its payment is a section on the information given in the API call:

No comments:

Post a Comment