Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Integration help

Tjelsa

Recruit
Basic Member
Messages
7
Reaction score
0
Points
16
Paano ko po ma integrate to? Anyone can help po? I am using a pre-made website. Last steps na kase ako, and di ko po alam kung paano ito. Thank you po.

1670936656646.png
 
Paano ko po ma integrate to? Anyone can help po? I am using a pre-made website. Last steps na kase ako, and di ko po alam kung paano ito. Thank you po.

View attachment 355475
Ang sabi nung documentation, ang IPN daw ng paypal (usually eto yung callback after successful or failure processing ng paypal gateway) ay ifoforward mo to PAP. Di ko alam ano PAP pero looking at the code, mag seset ka ng curl (eto yung sa api) mag rerequest ka daw. Yung sa url di ko alam if website mo yan, pero if hindi, jan mo ilalagay yung url ng PAP. Yung $_POST['custom'] ayan yung response sa IPN. so ibibigay mo yun sa PAP through curl.
 
Hindi ko po talaga alam haha I can share the pre-made website po if makakatulong po sayo sa pag tulong sakin boss
 
p
Ano pla iniintegrate mo, ano goal mo, at san ka nahihirapan? kulang kasi yung deta

Goal ko po is maka buo ng website na affiliates, and iniintigrate ko yung payment page ng paypal. Para once na mag send si affiliate ng links sa customer nya, at pag niclick ng customer yung link, ma rerecord sa dashboard ni affiliate. And makikita ren nila kung successful yung transaction or hindi.

Parang tracker po sya.

Jan po ako nahihirapan, sa last step yung sa screenshot. di ko po ma gets and kung saan sya hahanapin yung paypal processing script
 
p


Goal ko po is maka buo ng website na affiliates, and iniintigrate ko yung payment page ng paypal. Para once na mag send si affiliate ng links sa customer nya, at pag niclick ng customer yung link, ma rerecord sa dashboard ni affiliate. And makikita ren nila kung successful yung transaction or hindi.

Parang tracker po sya.

Jan po ako nahihirapan, sa last step yung sa screenshot. di ko po ma gets and kung saan sya hahanapin yung paypal processing script
Balikan ko ‘to. Mahirap kuhanin script ng paypal at inalis na nila yung developer mode. Pero tingnan ko sa paypal mamaya kung pwede pa i-access.
 
// IPN callback function function handleIPN(ipnMessage) { // Parse the IPN message to extract relevant information var transactionId = ipnMessage.get("txn_id"); var paymentStatus = ipnMessage.get("payment_status"); var paymentAmount = ipnMessage.get("mc_gross"); // Keep track of whether the transaction was successful var success = false; // Check the payment status and take appropriate action if (paymentStatus == "Completed") { // Update the user's account and send a confirmation email updateUserAccount(transactionId, paymentAmount); sendConfirmationEmail(transactionId, paymentAmount); // Mark the transaction as successful success = true; } else if (paymentStatus == "Refunded") { // Update the user's account and send a refund notification email updateUserAccount(transactionId, -paymentAmount); sendRefundNotificationEmail(transactionId, paymentAmount); } // Log the transaction and its success status logTransaction(transactionId, success); } // Set up the IPN listener and specify the URL where IPN messages should be sent paypal.IPN.listen(handleIPN); paypal.IPN.setURL("https://example.com/ipn-callback");

Try mo to
 
Back
Top Bottom