paypal recurring payments form

后端 未结 2 1463
说谎
说谎 2021-02-02 02:48

I have a website with a payment form, I want to add recurring payments. how would i do that? what ID\'s do I need to use in the form fields?

I saw a

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 03:08

    Mandatory fields are:

    a3: Regular rate. This is the price of the subscription

    p3: Regular billing cycle. This is the length of the billing cycle. The number is modified by the regular billing cycle units (t3, below)

    t3: Regular billing cycle units. This is the units of the regular billing cycle (p3, above) Acceptable values are: D (days), W (weeks), M (months), Y (years)

    no_note: This field makes sure your subscriber is not prompted to include a note with the subscription, a function which PayPal Subscriptions does not support. This field must be included, and the value must be set to 1.

    Source: Subscriptions and recurring Payments Guide from PayPal.

    It's important to note that without the optional field src (also described in the doc above) the subscription expires just after the first transaction and threfore it's not recurrent:

    src: Recurring payments. If set to “1,” the payment will recur unless your customer cancels the subscription before the end of the billing cycle. If omitted, the subscription payment will not recur at the end of the billing cycle.

提交回复
热议问题