Opportunity trigger for account and contact - triggers

When and Opportunity is created, if the account has any contact who is a member of a campaign type 'Partners' in Status 'In Progress'. Create and automation that fills the Primary Source Campaign field with the correspondent campaign.
When and Opportunity is created, if the account has any contact who is a member of a campaign type 'Partners' in Status 'In Progress'. Create and automation that fills the Primary Source Campaign field with the correspondent campaign.

Related

Magento 2 - preselect automatically customer billing address on checkout - when default is not set

When customer has set default billing and shipping address in his profile then on checkout shipping and billing address is automatically checked to default and customer is able to place order. In the case when customer didnt set up default addresses in his profile then customer needs to select address on checkout and then click update. After that he will be able to place order.
How to programatically preselect first billing address in dropdown on checkout so the customer does not need to do that, and to be able to click on place order without clicking update button?

How can we get billing plan id, once the payment complete in paypal

I need billing plan id, after the payment in paypal, i have billing agreeement id, but i am not able to get plan id based on agreement id, Is there any way with that we can get the billing plan id ?
Returning the Billing Plan ID in the Get Billing agreement details response is currently not supported. The created Billing Agreement ID does not contain any reference back to the originating plan at this time. The Billing Agreement simply contains its own plan object that is created using the properties from the original Billing Plan ID.
You can reference the issue at the link below as an Improvement was filed to try and get this functionality added to the Get Billing Agreement response.
Note:
There is also somewhat of a workaround explained at the link below which states how to get the Billing Plan ID in the meantime.
https://github.com/paypal/PayPal-REST-API-issues/issues/92

Paypal, 2Checkout IPN received parameters

What are the parameters which PAYPAL and 2Checkout sends for IPN in case for buy without subscription, subscription first payment, subscription not first payment and refund.
I need understand the workflow so I can implement correct. I already checked the documentation and I already build the form for payment with/without subscription.
The full parameter list is located https://www.2checkout.com/documentation/notifications/order-created there for a non-recurring sale, use the sidebar nav on the left to find the recurring INS messages. Each INS link has a description as to when the event is triggered:
e.g. Order creation is a new order placed online by a buyer. You may want to automate inventory management, fulfillment or setup of login credentials based on this message.
Recurring order creation is a special case of order creation; if any item ordered is recurring, the recurring parameter will be set to 1, otherwise, it will be set to 0.
Please note the initial installment billed often differs in price from the installments due to startup fees.
Order Created is an invoice level message; it will be sent once for each new sale and will contain information about all items ordered.

How to get buyer info and transaction id from paypal

I would like to get buyer first name, buyer last name (that is in the account of the user), as well as buyer transaction ID, during IPN postback to save in database. How could it be done? I can't seems to find any variable associated with it.
Is the first name and last name is getting from Buyer Information Variables?

How do I auto-populate the "Purpose" field when accepting donations through PayPal?

The wildlife conservation organization that I volunteer for has partnered up with an existing non-profit that will accept donations on our behalf while we wait on our non-profit status to be approved. Their PayPal donation page has a field in the header area labeled "Purpose" that I would like to auto-populate with the name of our organization when they click the donate button from our website in order to alleviate any confusion as to which organization the donor is donating to. I found tutorials to auto-populate other fields on the form such as name and address, but these techniques don't seem to work for the "Purpose" field. Can anyone help me solve this issue? Thanks.
The field name is called item_name - if you pass a value in your PayPal arguments with this field pre-populated then you will see that the "Purpose" field is now filled with it's value.