.net - PayPal - update shipping information after SetExpressCheckout -
the following question related paypal api. using paypal express checkout, using .net.
with our software, there 2 different ways user can checkout using paypal. 1 select payment option checkout page. if there way, have entered shipping information , selected shipping method, , of (shipping information, shipping total, shipping discounts) passed paypal via setexpresscheckout function. redirected on-site confirmation page click button confirm payment (which calls doexpresscheckoutpayment) amount being paid. works, page gives user ability change preferred shipping method before hitting confirm. changing shipping method changes shipping total , may affect shipping discount , tax total. cannot find way update information in paypal before confirming order (via doexpresscheckoutpayment). in case, passing amount function different order total given via setexpresscheckout.
the other way customer can checkout can click paypal checkout button on cart page. if user checks out in way, not select shipping method until reaches confirmation page, initial setexpresscheckout call not sent shipping total , discounts @ all. aside that, same in case in first one. updates shipping method , totals in our software, , sends final amount paypal.
first of all, wondering if there way update shipping total, shipping discounts, tax total, etc. after setexpresscheckout has been called. don't see these values being passed doexpresscheckoutpayment, nor see method update. if not possible, sufficient pass in different payment amount total sent via setexpresscheckout, or cause problems? or there better way not thinking of?
you fine. expresscheckout designed buyer's approval (and assess buyer's ability pay) based on approximate cart of goods sent @ setec time, return buyer seller's website , potentially alter cart (such expedited shipping or upselling additional purchases) before doec called. should work. send different final amount in doec call.
there couple of things aware of:
if total varies there more chance of payment being refused @ doec time. e.g. buyer may test out ok $80, if call doec $300 paypal may require buyer return paypal address ability pay (e.g. change or add funding sources). within 20% should safe. paypal has specific return codes indicate should send buyer them (via redirect) correct issues/re-do funding source selection & approval.
if told paypal 1 shipping address ship goods somewhere else not eligible seller protection. if modified address new paypal account that's paypal factor in risk assessment, not providing info invalidate paypal's guarantees.
Comments
Post a Comment