Example of buying coins with PayPal in ActionScript 3:
| Required GetBuyCoinsInfo() Arguments | |
|---|---|
| coinamount | The amount of Coins to purchase. The combination of coinamount and currency must be a defined pricepoint in the PayVault setup. |
| currency | The currency you wish to use for this purchase. The currency must be supported by UltimatePay. |
| amountdesc | The description of the purchase as it will be presented to the user |
| Optional GetBuyDirectInfo() Arguments | |
| accountname | These arguments can be used to customize the UltimatePay experience. See the UltimatePay Parameters section in the UltimatePay Integration Guide for more information. |
| appid | |
| display | |
| xdurl | |
| fname | |
| lname | |
| language | |
| Result Values | |
| sn | These parameters all need to be passed when opening the UltimatePay Lightbox. See the Code Example section in the UltimatePay Integration Guide for more information. |
| userid | |
| currency | |
| amount | |
| amountdesc | |
| merchtrans | |
| hash | |
| accountname | These parameters are present in the result and need to be passed when opening the UltimatePay Lightbox if you specified them in the original method call. |
| appid | |
| xdurl | |
| xdurl | |
| fname | |
| lname | |
| language | |
Example of buying an item directly with PayPal in ActionScript 3:
| Required GetBuyDirectInfo() Arguments | |
|---|---|
| currency | The currency you wish to use for this purchase. The currency must be supported by UltimatePay. |
| amountdesc | The description of the purchase as it will be presented to the user |
| Optional GetBuyDirectInfo() Arguments | |
| accountname | These arguments can be used to customize the UltimatePay experience. See the UltimatePay Parameters section in the UltimatePay Integration Guide for more information. |
| appid | |
| xdurl | |
| xdurl | |
| fname | |
| lname | |
| language | |
| Result Values | |
| sn | These parameters all need to be passed when opening the UltimatePay Lightbox. See the Code Example section in the UltimatePay Integration Guide for more information. |
| userid | |
| currency | |
| amount | |
| amountdesc | |
| merchtrans | |
| hash | |
| accountname | These parameters are present in the result and need to be passed when opening the UltimatePay Lightbox if you specified them in the original method call. |
| appid | |
| display | |
| xdurl | |
| fname | |
| lname | |
| language | |