Chained payment after authorisation using paypal in asp.net -
How To Use Both Features Of PayPal - EXPRESS Checkout Setup in PayPal, Authorization and Chain Payment I want to authorize the buyer and seller when When the buyer pays, the transaction will remain with PayPal and the payer goes to the seller account and 20% of the amount will be in the admin account and the seller account will be 80% using PayPal. Please understand this process at step rate. I want to implement this process in my ASP.NET project.
You can use the concept of PreApproval Adaptive Payments where you can charge it at any time in future You can get permission from the buyer and once he agrees that you will get a prepoll key which you can use to pay the payment of primary and secondary receiver in the Adapter Chain Payment API call. . This way the buyer will not be charged immediately and you will have enough time to repay it.
The flow will be something like this:
1. Acquisition
<> NVP request: requestEnvelope.errorLanguage = hi & amp; STARTINGDATE = 2014-10-19Z & amp; EndingDate = 2015-10-19ZcycyCode = USD & amp; CancelUrl = XXXXXXX & amp; ReturnUrl = XXXXXX & amp; IpnNotificationUrl = XXXXXXXX & amp; MaxAmountPerPayment = 10.00 & amp; Maximum Nmberof Payments = 50 and maximum Nmberpeprsperiod = 10 and maximum Kulonountof payments = 500.00 memo = This Preepeprovl memo and payment period = Daily NVP Response: Pratikriyaanl velop. Tamstamp = 2014-10-18T14: 31: 26.577-07: 00 Pratisadanl velop. a = success Pratikriyaanlfafi .correlationId = 51317322d3c7d responseEnvelope.build = 13,085,071 preapprovalKey = PA-6D174595N6325214K
buyer on PayPal page it 2.Redirect to agree:
https: //www.sandbox.paypal.com / Cgi-bin / webscr? Cmd = _ap-preapproval & preapprovalkey = PA-6D174595N6325214K
3.Charge later received the buyer using the preapproval key:
NVP Request: actionType = Pay & amp; RequestEnvelope.errorLanguage = en & amp; CancelUrl = XXXXX & amp; ReturnUrl = XXXXXX & amp; IpnNotificationUrl = XXXXXX & amp; ApplicationId = XXXXXXX & amp; Memo = Chain Payment = US Dollar and Receiver List through PriePrawCase. Receiver (0) .email = xxxxx.co.in and receiver list. Receiver (0) .Mount = 5.00 and receiver list. Receiver (0) .primary = true and receiver list .receiver (1) .email = EXXXXX.co.in.pro & amp; ReceiverList.receiver (1) .amount = 2.00 & amp; ReceiverList.receiver (1) .primary = false & amp; FeesPayer = EACHRECEIVER & amp; PreapprovalKey = PA-6D174595N6325214K & amp; Pin = 123456 & amp; Expansion.ditallcode = returns all NVP response: feedbackAnimalFeed. TMESTAMP = 2014-10-18T16: 01: 47.549-07: 00 ResponseFiniable.ca = Response to SuccessNowClick. CRANALActionID = BCF3C 446F3A44Reply Envelope. Build = 13085071 Peke = AP-4FF 76080D 3699590F PaybackExecatats = Full Payment INFOList.paymentInfo (0). Tronssaijing = 3F248407 9H7759838 paymentInfoList.paymentInfo (0) .transactionStatus = complete paymentInfoList.paymentInfo (0) .receiver.amount = 5.00 paymentInfoList.paymentInfo (0) .receiver.email = XXXXX.co.in paymentInfoList.paymentInfo (0) .receiver .primary = True Payment InfoList.paymentInfo (0) .receiver.accountId = XXXXXXX Payment InfoList.paymentInfo (0). PendingRefund = false Payment InfoList.paymentInfo (0) .senderTransactionId = 332451441L881611 Payment INFOList.paymentInfo (0) .senderTransactionStatus = Full Payment InfoList.paymentInfo (1). transactionId = 2XX52568GK846100U paymentInfoList.paymentInfo (1) .transactionStatus = complete paymentInfoList.paymentInfo (1) .receiver.amount = 2.00 paymentInfoList.paymentInfo (1) .receiver.email = XXXXX.co.in paymentInfoList.paymentInfo (1) .receiver. Primary = false paymentInfoList.paymentInfo (1) .receiver.accountId = 7VZLVB9FB2EZJ paymentInfoList.paymentInfo (1) .pendingRefund = false paymentInfoList.paymentInfo (1) .senderTransactionId = 34R54203C 0679535E Payment InfoList.paymentInfo (1) .senderTransactionStatus = Total sender.accountID = You can find more information here:
Comments
Post a Comment