Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Paypal subscriptions

$
0
0
Hi,
with paypal you can subscribe to a service that results in a recuring payment.

In nbstore you can set the xml for paypal, so I could adapt it for this:

<root>
<paymentURL>https://www.paypal.com/cgi-bin/webscr</paymentURL>
    <verifyURL>https://www.paypal.com/cgi-bin/webscr</verifyURL>
....
<paypalurl>
      <cmd>_xclick-subscriptions</cmd>
      <first_name>[BAddress:AddressName]</first_name>
      <last_name>[BAddress:AddressName2]</last_name>
      <address1>[BAddress:Address1]</address1>
      <address2>[BAddress:Address2]</address2>
      <city>[BAddress:City]</city>
      <country>[BAddress:CountryCode]</country>
      <zip>[BAddress:PostalCode]</zip>
      <email>[Order:Email]</email>
<a3>[Order:Total]</a3>
<p3>1</p3>
<t3>M</t3>
<src>1</src>
<srt>52</srt>
<no_note>1</no_note>
    </paypalurl>
</root>

This seems to work fine, except the [Order:Total]
Maybe its just the formatting? I need a dot (.) as decimal separator but I am working in a culture where its a comma.

How can I use the total amount to be paid here?

Thanks

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>