paypal Java Rest API Getting Shipping Information before paymentexecution -


i using paypal java rest api.

i build payment object. run payment.create(accesstoken). send user off paypal. user returns paypal after entering shipping , payment information. user comes site.

i execute payment p = payment.get(accesstoken, paymentid);

i payment not have shipping information. can shipping information if i: paymentexecution paymentexecution = new paymentexecution(payerid); payment executedpayment = createdpayment.execute(accesstoken, paymentexecution);

then payment object have information transaction.

i don't want execute payment yet. want shipping information can show shipping options. after user accepts order can execute payment (either sale or auth).

i want shipping information when customer returns site before taking or authorizing payment.

thanks mark

unfortunately, @ time, shipping information returned in execution response. there discussions modify future releases.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -