Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6190833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:39:32+00:00 2026-05-24T02:39:32+00:00

OK, PayPal’s docs and examples are pain awful so I hope someone else could

  • 0

OK, PayPal’s docs and examples are pain awful so I hope someone else could help me figure this out. I’m doing a PayPal SetExpressCheckout request using their NVP API. It seems that my code produces one-time payment and not a subscription (which I figured out when receiving IPNs in the single-payment format, not subscription format, also on the sandbox buyer/seller panel in paypal there is nothing that says that the payments in the history are recurring), so I want to know what am I doing wrong. Those are the key => value pairs that I use, of course I implode and send them to PayPal in the right manner – as I said it works but not the way I want it.

array
  'METHOD' => string 'SetExpressCheckout' (length=18)
  'PAYMENTREQUEST_0_AMT' => string '3.99' (length=4)
  'PAYMENTREQUEST_0_CURRENCYCODE' => string 'USD' (length=3)
  'PAYMENTREQUEST_0_PAYMENTACTION' => string 'Sale' (length=4)
  'PAYMENTREQUEST_0_INVNUM' => int 93
  'PAYMENTREQUEST_0_CUSTOM' => string '394mtrf1h5lfdeehvgrferk1n1' (length=26)
  'LOCALECODE' => string 'EN' (length=2)
  'NOSHIPPING' => int 1
  'REQCONFIRMSHIPPING' => int 0
  'RETURNURL' => string 'http://MYDOMAINXXXX.COM/payPal/return' (length=44)
  'CANCELURL' => string 'http://MYDOMAINXXXX.COM/upgrade' (length=38)
  'ALLOWNOTE' => int 0
  'LANDINGPAGE' => string 'Billing' (length=7)
  'EMAIL' => string 'dimitar@instinctiv.com' (length=22)
  'BILLINGPERIOD' => string 'Month' (length=5)
  'BILLINGFREQUENCY' => int 1
  'PROFILESTARTDATE' => string '2011-07-26' (length=10)
  'L_BILLINGTYPE0' => string 'RecurringPayments' (length=17)
  'L_BILLINGAGREEMENTDESCRIPTION0' => string 'Basic Subscription - 25GB' (length=34)
  'VERSION' => string '63.0' (length=4)
  'USER' => string 'pro_1307543338_biz_api1.gmail.com' (length=33)
  'PWD' => string 'XXXXXXXXX' (length=10)
  'SIGNATURE' => string 'AdTGraIKTCQ-O2lYSLlGJVfeJ1FWAKhC6Y8qZZxqGGkKkccrGxO45emb' (length=56)

I suspect the problem might be PAYMENTREQUEST_0_AMT and the other PAYMENTREQUEST_N_XXX keys, as in the PayPal docs I see that “PAYMENTREQUEST_N_AMT” “SHOULD BE” set to 0 for recurring payments, but also in the docs they say that “AMT is used to point out the amount to be billed on each billing cycle and is deprecated, to use PAYMENTREQUEST_N_AMT instead”!?

Any help is appreciated. If you need more specific info I will provide everything, just add a comment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:39:33+00:00Added an answer on May 24, 2026 at 2:39 am

    You still have to call CreateRecurringPaymentsProfile to create the recurring payments profile. If you don’t want to bill an initial amount, you could leave the AMT set to ‘0’ for your SetExpressCheckout API call. See also https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_CreateRecurringPayments and Table 4.2 in https://www.paypalobjects.com/en_US/ebook/PP_ExpressCheckout_IntegrationGuide/RecurringPayments.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can you send a paypal payment with a script? I've been googling for this,
Reading PayPal developer documentation (and this is a lot of documentation) I'm not sure
PayPal Express Checkout return an array of response. Part of this response is this
Both the AuthNet and PayPal mobile payment libraries have the ENV_LIVE enumerator defined. This
Paypal claims that customers without paypal accounts could pay with their credit cards directly,
my paypal ipn php works correctl. i tested it out with sandbox account, and
I am new at paypal payment system... I have seen this been done, but
I've implemented a paypal transaction before but this one has a twist that I'm
i noticed that paypal displays a very different favicon, one that's not just a
I'm using Paypal to handle automated recurring payments for my website. Users pay to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.