How to process variable amounts on cronjob payment submissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are trying to figure out how to process our fees/commissions from revenue that we deliver to customer on daily basis. Ideally, we thought running a cronjob every night would do the job, but since the amounts varies everyday, we can't seem to figure this out.
For example, one day our commission/fees can be $10 and another day can be $100. How can we create such cronjob?
Thank you!
- Labels:
-
Carts
-
PayPal HTML Buttons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @jheart,
Thank you for your post and welcome to the Community Forum.
NVP API integration : Pass the "PAYMENTREQUEST_n_AMT" value.
Guide link - https://developer.paypal.com/api/nvp-soap/do-express-checkout-payment-nvp/#link-paymentdetailstypefi...
REST API integration : Pass the "amount" value.
Guide link - https://developer.paypal.com/docs/api/payments/v1/#definition-amount.
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- use the payment button code with variable price in REST APIs
- How do I set up multiple IPN URLs on PayPal? in NVP/SOAP APIs
- Urgent Assistance - PayPal Integration (Monthly Recurring Payment) in PayPal Payments Standard
- Customising Paypal Checkout Button in PayPal Payments Standard
- I need to integrate a recurring payment with a variable for a pay-as-you-go product in REST APIs