开发者

How can I specify an admin fee in PayPal when ordering less than 2 items? [closed]

开发者 https://www.devze.com 2022-12-19 18:03 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 12 years ago.

Improve this question

This is my first time using PayPal to handle payments from a website, and I am struggling to get my client's business model to work with PayPal's Website Payments Standard.

Basically the way that each order works is that if the customer orders only 1 tour, there is a single person supplement of £250.

Any thoughts on how I would add this to the checkout?

My best attempt is to add a "handling" fee of £250, and give a discount of £250 if the customer orders more than 1 tour.

For example...

<input name="amount" value="750" />
<开发者_如何学JAVA;input name="handling" value="250" />
<input name="discount_amount" value="0" />
<input name="discount_amount2" value="250" />
<input name="discount_num" value="1" />

This works technically, but it means that the customer is presented with a line item on their bill that reads "Postage and Packaging". I would rather it read "Single Supplement Fee" or "Admin Fee".

Any help and advice would be very welcome.


Have you considered an intermediary page that the first form gets posted to and that has the logic of "if more than 1 tour" and adjusts the product title and full pricing before sending on to PayPal?


Have you considered creating a 'discount' line item worth -£250 when you can detect 2+ tours?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号