Click here to Skip to main content
15,894,241 members
Articles / Web Development / ASP.NET

Introduction to PayPal for C# - ASP.NET developers

Rate me:
Please Sign up or sign in to vote.
4.93/5 (246 votes)
3 Feb 2017CPOL24 min read 1.3M   40.3K   655  
An overview that presents all PayPal integration options, targeted especially at C# developers.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:apis:CoreComponentTypes" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:ebay:apis:CoreComponentTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="eBLBaseComponents.xsd" namespace="urn:ebay:apis:eBLBaseComponents" />
  <xs:complexType name="AmountType">
    <xs:simpleContent>
      <xs:extension base="xs:double">
        <xs:attribute name="currencyID" type="ebl:CurrencyCodeType" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="BasicAmountType">
    <xs:annotation>
      <xs:documentation>On requests, you must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. 
<br /><br />
Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="currencyID" type="ebl:CurrencyCodeType" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="MeasureType">
    <xs:simpleContent>
      <xs:extension base="xs:double">
        <xs:attribute name="unit" type="xs:token" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="QuantityType">
    <xs:simpleContent>
      <xs:extension base="xs:double">
        <xs:attribute name="unit" type="xs:token" use="optional" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="UUIDType">
    <xs:annotation>
      <xs:documentation>
			    Specifies a universally unique identifier. The UUID can 
			    only contain digits from 0-9 and letters from A-F. The 
			    UUID must be 32 characters long.  For example, 
			    1FB02B2-9D27-3acb-ABA2-9D539C374228       
			</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="36" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer
United States United States
If you liked this article, consider reading other articles by me. For republishing article on other websites, please contact me by leaving a comment.

Comments and Discussions