SetExpressCheckout with CreateRecurringPaymentsProfile. InitialAmount not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear community,
i am using the function setExpressCheckout with the CreateRecurringPaymentsProfile.
i had the problem that some users have no money or the created subscription cannot be charged after short time.
now i want use the function that the initial first payment must work before the subscription is created.
currently my api call looks like that:
"L_PAYMENTREQUEST_0_NAME0" => "product 1"
"L_PAYMENTREQUEST_0_AMT0" => 10
"L_PAYMENTREQUEST_0_DESC0" => "product 1"
"L_PAYMENTREQUEST_0_QTY0" => 1
"PAYMENTREQUEST_0_ITEMAMT" => 30
"PAYMENTREQUEST_0_AMT" => 30
"PAYMENTREQUEST_0_PAYMENTACTION" => "Sale"
"PAYMENTREQUEST_0_CURRENCYCODE" => "EUR"
"PAYMENTREQUEST_0_DESC" => "product 1"
"PAYMENTREQUEST_0_INVNUM" => "****"
"NOSHIPPING" => 1
"RETURNURL" => "***"
"CANCELURL" => "***"
"LOCALE" => "en_US"
"L_BILLINGTYPE0" => "RecurringPayments"
"L_BILLINGAGREEMENTDESCRIPTION0" => "product 1"
now from paypal docs i added now the last 2 lines:
"L_PAYMENTREQUEST_0_NAME0" => "product 1"
"L_PAYMENTREQUEST_0_AMT0" => 10
"L_PAYMENTREQUEST_0_DESC0" => "product 1"
"L_PAYMENTREQUEST_0_QTY0" => 1
"PAYMENTREQUEST_0_ITEMAMT" => 30
"PAYMENTREQUEST_0_AMT" => 30
"PAYMENTREQUEST_0_PAYMENTACTION" => "Sale"
"PAYMENTREQUEST_0_CURRENCYCODE" => "EUR"
"PAYMENTREQUEST_0_DESC" => "product 1"
"PAYMENTREQUEST_0_INVNUM" => "****"
"NOSHIPPING" => 1
"RETURNURL" => "***"
"CANCELURL" => "***"
"LOCALE" => "en_US"
"L_BILLINGTYPE0" => "RecurringPayments"
"L_BILLINGAGREEMENTDESCRIPTION0" => "product 1"
"InitialAmount" => 10
"FailedInitialAmountAction" => "CancelOnFailure"
but this is not working. can anybody helps me to get this working with this integration method?
thank you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @iceget ,
Can you try using INITAMT and FAILEDINITAMTACTION? These are the parameter names for the CreateRecurringPaymentsProfile API Operation (NVP) which corresponds with your other parameters.
INITAMT | (Optional) Initial non-recurring payment amount due immediately upon profile creation. Use an initial amount for enrollment or setup fees. Note: All amounts included in the request must have the same currency. Character length and limitations: `partial:partials/docs/shared/cl_currencylimit.en-XC` |
FAILEDINITAMTACTI ON | (Optional) Action you can specify when a payment fails. Value is:
|
Thank you.
Powered by Custom Software : NexWebSites.com PayPal Developers

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.