PayPal Integration, how would I define the receiver account?

后端 未结 2 637
余生分开走
余生分开走 2021-02-14 03:11

I\'m working on a very small ecommerce software that allows users to put their products up in order to get customers to see them and buy them.

I would like to offer the

2条回答
  •  别那么骄傲
    2021-02-14 03:35

    You can add this parameter:

    PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=someone@gmail.com
    

    other parameters can be configured also for that receiver,like:

    PAYMENTREQUEST_0_CURRENCYCODE=USD
    PAYMENTREQUEST_0_AMT=300
    PAYMENTREQUEST_0_ITEMAMT=200
    PAYMENTREQUEST_0_TAXAMT=100
    PAYMENTREQUEST_0_DESC=Summer Vacation trip
    PAYMENTREQUEST_0_INSURANCEAMT=0
    PAYMENTREQUEST_0_SHIPDISCAMT=0
    PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=someone@gmail.com
    PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false
    PAYMENTREQUEST_0_PAYMENTACTION=Order
    PAYMENTREQUEST_0_PAYMENTREQUESTID=CART26488-PAYMENT0
    

    Note: you can add up to 10 receivers, just change the index like:

    PAYMENTREQUEST_1_.....
    PAYMENTREQUEST_2_.....
    

提交回复
热议问题