Iframe Integration

Iframe URL

Example

<iframe src="https://www.peach-in.com/cmp/iframe/{urlId}" height="100%" width="100%" />

Customize the height and width according to your needs

The above URL will display the campaign payment flow as it is configured in the campaign settings

You can customize the flow by passing in URL params

Note: All field values must be valid according to the validation rules set in the campaign fields section

Parameters

ParameterValuesRequiredDescription

sum

integer

No

Sets payment sum, By setting this, the first step of the payment flow will be skipped

recurring

true

No

Sets the payment as a recurring payment. If months is not set , the payment will recur until canceled

months

integer

No

Sets the amount of billing cycles for the payment

webhook

Valid URL

No

Webhook URL to send payment info on successful payment

redirect_url

Valid URL

No

URL to redirect user after successful payment

skip_input

true

No

Skips to last step of the payment flow If set to true, you must pass in first_name, last_name, sum, email, and telephone

first_name

string

Required if skip_input is true

last_name

string

Required if skip_input is true

telephone

string

Required if skip_input is true

email

string

Required if skip_input is true

back_url

Valid URL

No

if validation does not pass you can define a URL for user to be redirected to when clicking back. Defaults to previous page

hide_back_button

true

No

Hides the back button on failed validation page

show_bit

true

No

Sets the default payment option on the last section to bit

currency

string

No

Sets the default currency if it is supported by the campaign

Valid options: "ILS", "USD", "EUR", "GBP"

Custom Properties

To set custom properties use the internal name of your property

Last updated