Feedback

Authentications

Scriptcase can link its applications using OAuth methods. These methods allow you to integrate a Scriptcase project with the following data sources:

Facebook

Facebook fields authentication interface. Facebook fields authentication interface.

When you create a button Facebook authentication, you must fill in the fields:

  • App ID : Facebook application ID. This ID will be provided by Facebook Developer’s page.
  • Secret : Secret key provided by Facebook, so the application can be executed.
  • Method return : Method that will be performed when Facebook service returns the requested data. You will have to create that method according to our validation rules, using the option “Programming > PHP Methods”

For building applications, visit: Facebook app development

Twitter

Twitter fields authentication interface. Twitter fields authentication interface.

When you create a button “Twitter Authentication”, you must fill in the fields:

  • Key : Twitter application ID. This ID will be provided by Twitter Developer’s page.
  • Secret : Secret key provided by Twitter, so the application can be executed.
  • Method return : Method that will be performed when Twitter service returns the requested data. You will have to create that method according to our validation rules, using the option “Programming > PHP Methods”

For building applications, visit: Twitter app development

Google

Google fields authentication interface. Google fields authentication interface.

  • Application name : Name of the application created on Google+.
  • Client ID : Google+ application ID. This ID will be provides by Google Developer’s page.
  • Secret : Secret key provided by Google+, so the application can be executed.
  • Method return : Method that will be performed when Google+ service returns the requested data. You will have to create that method according to our validation rules, using the option “Programming > PHP Methods”

For building applications, visit: Google+ app development

PayPal

PayPal fields authentication interface. PayPal fields authentication interface.

To create the integration with PayPal, you must fill in these fields:

  • PayPal URL : This URL can be to the PayPal SandBox or to the real PayPal API. The SandBox is used to perform tests with the application before applying the integration in a real environment.
  • Id : PayPal ID to receive the sales money. Usually the registered email as business.
  • Order number : Order Number to be stored in PayPal. Also used to treat the receipt of the IPN in order to identify and process the order as paid.
  • Customized field :Custom field to be stored in PayPal. Also used to treat the receipt of the IPN in order to identify and process the order as paid, if you want to do some additional checking.
  • Variable with the description : Using this field you can place the Global variable that will contain the description to be sent to PayPal.
  • Variable with the Total amount. : Method to be ran when PayPal service return the data requested.
  • Variable with the currency type : Use to specify the payment currency. If the currency variable is not included, the currency defaults to USD.
  • PayPal Method : Method that will be called after the User complete the PayPal transaction. You will have to create that method according to our validation rules, using the option “Programming > PHP Methods”
  • Method Cancel : Method to be executed if the user cancels the PayPal transaction. You will have to create that method according to our validation rules, using the option “Programming > PHP Methods”
  • Method IPN : Method that will be called by web service from PayPal to confirm the payment of a transaction. This method is called by web service and it has no HTML output to the end-user. You will have to create that method according to our validation rules, using the option “Programming > PHP Methods”

For PayPal configuration, please visit: Configuring PayPal credentials

The variables list returned by the PayPal API can be found below:

[mc_gross]
[invoice]
[protection_eligibility]
[address_status]
[payer_id]
[tax]
[address_street]
[payment_date]
[payment_status]
[charset]
[address_zip]
[first_name]
[mc_fee]
[address_country_code]
[address_name]
[notify_version]
[custom]
[payer_status]
[business]
[address_country]
[address_city]
[quantity]
[verify_sign]
[payer_email]
[txn_id]
[payment_type]
[last_name]
[address_state]
[receiver_email]
[payment_fee]
[receiver_id]
[txn_type]
[item_name]
[mc_currency]
[item_number]
[residence_country]
[test_ipn]
[handling_amount]
[transaction_subject]
[payment_gross]
[shipping]
[ipn_track_id]